You need to sign in or sign up before continuing.
BI-780 Add test cases to Jenkin job
Created by: ay701
This PR applies .env variable in BDD environment file, so to allow Jenkins runs the test cases
To test:
- Switch to
BI-780branch, thengit pull - Go to
/bloclink/apps/bisfolder - Install behave locally.
pip install behave(If you haven't) - Make sure your local
Bloclinkservice is running - In your local
.envfile, make sureDOMAIN=0.0.0.0:5410is defined - Run the test:
python -m behave
You are expected to see following test result
0 features passed, 4 failed, 0 skipped 25 scenarios passed, 54 failed, 0 skipped 208 steps passed, 54 failed, 54 skipped, 0 undefined Took 0m22.961s
The PR has currently been deployed on bloclink-dev server
The deployment didn't pass due to some test cases failed. (That's what expected)
Issue related: https://blocpower.atlassian.net/browse/BI-723
Issue fixed: https://blocpower.atlassian.net/browse/BI-780