apinf / platform

Apinf - Open source API management platform with multi proxy and protocol support
https://apinf.com/
European Union Public License 1.1
74 stars 33 forks source link

Integrate automated tests with building nightly #1712

Open bajiat opened 8 years ago

bajiat commented 8 years ago

This task is for second week of sprint 33

bajiat commented 8 years ago

@shaliko Could you add a testing step to travis.yml? We expect the tests to fail.

shaliko commented 8 years ago

@bajiat Looks like platform dose not have any tests (Unit, Integrations/Regression).

We can easily update travis.yml for run tests, when we will have tests.

bajiat commented 8 years ago

@shaliko Can you take a look at this repo: https://github.com/apinf/apinf-testing ?

shaliko commented 8 years ago

Require some time for tests. By quick glance, probably we can use Chrome Headless https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md for run chrome without UI part (ping @brylie).

brylie commented 8 years ago

Sounds good. The tests are written to use Selenium, if that has any effect on your decision.

shaliko commented 8 years ago

Yes, Selenium should easy work with Chrome Headless http://www.chrisle.me/2013/08/running-headless-selenium-with-chrome/

But that is not final decision, I will test it on Travis CI. More concern how to easy debug if tests fails.

shaliko commented 8 years ago

@brylie sorry, above was wrong article "headless Selenium" instead of "headless chrome".

That one right https://blog.codeship.com/laravel-and-behat-using-selenium-and-headless-chrome/

shaliko commented 8 years ago

@bajiat Will be good start when all existing test will be fixed.

ilarimikkonen commented 6 years ago

after next