102
Views
7
Comments
[TestFramework] [TestFramework] -BDD test cases passed but categorized as failed 
Question
testframework
Web icon
Forge asset by Indigo

I am currently trying to use the Test Framework alongside the BDD framework in order to automate my unit test. I created the test suite and linked my BDD test cases. Whenever I ran the suite all steps are showing failed but when Checked details all my BDD scenarios were passed. Why it is categorized wrongly? (See the screenshots, it has 3 scenarios as all passed)



2021-07-14 09-27-33
Luís Cardoso

Hi! 

Did you check the query that returns that info and try to understand why it is showing incorrectly?

BR,

Luis

2020-09-17 16-40-15
Indigo

Rajiv Rajkamal wrote:

I am currently trying to use the Test Framework alongside the BDD framework in order to automate my unit test. I created the test suite and linked my BDD test cases. Whenever I ran the suite all steps are showing failed but when Checked details all my BDD scenarios were passed. Why it is categorized wrongly? (See the screenshots, it has 3 scenarios as all passed)



Hi Rajiv,

Could you please check if there's any errors in the service center logs and share them?


Thanks,

TestFramework Team


UserImage.jpg
Andrey Perez

There was some solution to this? I'm facing the same issue.

UserImage.jpg
Jared Smigelski

I'm also experiencing the same thing here.  I'm uses Cases_Demo (right from the Forge) for this to test some basic test cases.  No exceptions thrown, and still same behavior.  Obtaining "Unclassified" even though the Results section clearly shows all tests passing.  

There are some lines in the general logs from the tests, but no exceptions at all


2019-10-11 12-43-29
Kevin Desmet

I also have the same problem.

2023-04-05 12-45-27
Dalila Angélica

A Guide To BDD Testing In the OutSystems Low-Code Platform 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.