Avatar billede fredand Forsker
28. marts 2017 - 17:21 Der er 1 løsning

How to see output of cucumber with maven

Hello guys!

I just recently started with cucumber.
I build my projects with maven and the cucumber tests are run when I run:
mvn clean install.
How ever I thought  that the cucumber-feature would be counted under test's but they do not.
In this example-output below I just got one feature that passes but is not counted as a test what I can see. Have I missed something?

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running exit_application.ExitApplicationTest
Feature: A user should be able to exit the application.

  As a user of the application
  I should be able to exit the application
  So I can do something else


Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

Best regards
Fredrik
Avatar billede fredand Forsker
31. marts 2017 - 22:41 #1
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester