Answer the question
In order to leave comments, you need to log in
Codeception + Bamboo what and where?
Good afternoon,
We decided to try to implement Bitbucket in the company, and with it Bamboo. We figured out the first one, but when it came to builds and testing through a bamba, I realized that I didn’t understand anything at all.
I read the documentation both there and there (both Bamboo and Codeception), - it did not help.
The question is actually this:
We have:
1) There are 2 local dev servers, changes are pushed from them to the central repo (Bitbucket Server) to a specific branch (DEV).
2) There is a remote DEV server, where, according to the plan, changes from the central BBS repository should be transferred, with successful tests.
3) There is Bamboo. I know how to write tests on Codeception.
Need:
1) After receiving changes to the Dev branch in the central repository, test the performance of these changes and, if successful, deploy to a remote server.
What is not clear:
1) Where to write tests?
2) How to set it up?
3) Do I understand the problem correctly? Or do you need to first deploy to a remote server, and then start testing on it?
Answer the question
In order to leave comments, you need to log in
Where to run the tests depends on whether they are unit tests or they need a working application.
If the first - then on the Bamboo server: run something like
run-my-codeception-tests.sh my-directory-with-code-and-tests
If the second - then you need to deploy to the test server (or raise it from scratch), and run tests against a running application.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question