Hi, All
I'm using bitbucket pipelines for run unittests. If any tests failed, i need a red (not green) mark for this run at pipelines page. Can i implement this?
my bitbucket-pipelines.yml:
image: vb64/gae.python.sdk
pipelines:
default:
- step:
script:
- cd tests
- python tests.py $APP_ENGINE_DIR
end of log:
FAIL: test_order (www_tests.telegram_test.test_input.TestCaseInput)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/atlassian/bitbucketci/agent/build/tests/www_tests/telegram_test/test_input.py", line 101, in test_order
self.assertIn("command not implemented yet...", data['text'])
AssertionError: 'command not implemented yet...' not found in u'Hi, Vitaly !\n\n/order command not implemented yet.'
----------------------------------------------------------------------
Ran 85 tests in 11.279s
FAILED (failures=1)