Cucumber Ltd / cucumber-pro

Unprocessable test resultsfeatures/test_results/unprocessable_test_results.feature

Release Dasher II (patch 1) (2018-12-13)

Romain Gérard

Currently viewing

Feature: Unprocessable test resultset

Scenario: The automatic .json parse throws an exception

  • Given Daniela has created test-project
  • And Daniela has uploaded her public key
  • And Daniela has added some documents to test-project
  • When malformed Cucumber-Java JSON test results are received for test-project
  • Then Bella can tell that the test results JSON for test-project was not valid
  • @todo

Scenario: Contents were parsed OK but we can't process because they are incorrect

  • Given Daniela has created test-project
  • And Daniela has uploaded her public key
  • And Daniela has added some documents to test-project
  • And the automatic parsing worked fine
  • When instead of a set of test results, there is just a string of nonsense
  • Then Bella can see straight away that the contents were odd
  • And she can see what was in the file
  • And she can tell the CucumberPro team which error was returned
  • @todo

Scenario: There is a weird step result on one of the scenarios

  • Given Daniela has created test-project
  • And Daniela has uploaded her public key
  • And Daniela has added some documents to test-project
  • And the automatic parsing worked fine
  • When one of the steps showed an unrecognised result status
  • Then Bella can see that the contents were odd
  • And she can see what was in the file
  • And she can tell the CucumberPro team which error was returned