mfeingold
mfeingold

Reputation: 7154

Travis CI runs only one test

I am setting up my ng-scroll directive with Travis ci.

I have a set of tests with 47 tests in it. When I run it locally by using karma start they all run successfully, but travis reports success after running only one of them. At list this is what I see in the travis log.

What am I missing?

Hmm... it looks like it does run them all - it is the report that shows that only one has been executed. I intentionally broke a test, after that the report has shown 47 executed (1 failed) on a separte line, the line executed 1 out of 47 was still there.

strange...

Upvotes: 0

Views: 314

Answers (1)

Vojta
Vojta

Reputation: 23051

It sounds like you are using progress reporter (which does rewrite the terminal output) and the output is clobbered with log or something. Try using --reporters dots on Travis.

Upvotes: 2

Related Questions