Skip to content

Include Unit test to the circleci config file #612

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jan 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ deploy_steps: &deploy_steps
./master_deploy.sh -d ECS -e $DEPLOY_ENV -t latest -s ${LOGICAL_ENV}-global-appvar,${LOGICAL_ENV}-${APPNAME}-appvar -i ${APPNAME}

jobs:
test:
UnitTests:
docker:
- image: circleci/node:12.16.1
- image: circleci/postgres:9.6.2-alpine
Expand Down Expand Up @@ -144,13 +144,19 @@ workflows:
version: 2
Connect Project Services:
jobs:
- UnitTests:
context : org-global
- deployDev:
context : org-global
requires:
- UnitTests
filters:
branches:
only: ['develop', 'connect-performance-testing']
- deployProd:
context : org-global
requires:
- UnitTests
filters:
branches:
only: ['master']
Expand Down
4 changes: 4 additions & 0 deletions src/test/jmeter/15UV Ultimate Thread-Group.jmx
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@ start up time/ramp-up time = Shutdown time/ramp-down time of the previous record
</collectionProp>
</HeaderManager>
<hashTree/>
<DurationAssertion guiclass="DurationAssertionGui" testclass="DurationAssertion" testname="Duration Assertion" enabled="true">
<stringProp name="DurationAssertion.duration">100</stringProp>
</DurationAssertion>
<hashTree/>
</hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Access Projects" enabled="true">
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
Expand Down