How can I automate phantomjs and casperjs tests in Karma

I am trying to find a way to automate tests written in phantomjs & / || Kasperge with karma. Apparently you can run tests in phantomjs, but you cannot use phantomjs or casper as a framework / plugin like Jasmine. I know phantomjs in no framework, but you can write tests with it. This is a bit confusing.

What I want to achieve is basically what you can do in Rails when you start Rspec. Is it possible? Am I using the wrong tools?

Thank!

+4
source share

Source: https://habr.com/ru/post/1652498/


All Articles