Questions tagged [nunit]

NUnit is a unit-testing framework for all .Net languages

9 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
220 views

How do I make a custom logger for Fluent Assertions?

I'm using NUnit and Fluent Assertions for testing. I'd like to write a custom logger for my test steps which shows which steps have passed and the step (if any) that failed. It looks like someone has ...
1
vote
1answer
3k views

BDD specflow Error: "Ambiguous Step Definition Found For Step

I am getting this error: "Ambiguous Step Definition Found For Step...." on running my Specflow Test. The code is for the client that I am working for, thus I am not permitted to provide code sample. ...
1
vote
0answers
298 views

How to refer custom jquery and bootstrap path in karma-html-detailed-reporter's reporter.js file?

I am new to TDD. Currently, I had run more than 2000 test cases parallel with chrome headless browser using concurrently-npm package. All the test cases are working fine. If any of the test cases get ...
0
votes
0answers
20 views

Unit Testing in C++ CLI Windows Forms Application

I have built an application using C++ CLI in Windows Forms Application. I need to create unit tests for this. I tried searching everywhere on the internet but nowhere there is a way to do it. ...
0
votes
0answers
75 views

How to prevent inconclusive test steps result in specflow nunit tests? How do you handle multiple tests logging to same report at the same time?

How to prevent inconclusive test steps result in specflow nunit tests? I am running tests in parallel and I notice my tests keep having a test step failing due to being inconclusive so it captures a ...
0
votes
2answers
2k views

Methods to setup parallel test execution in NUnit with Selenium WebDriver C#

For true parallel execution of Selenium tests in NUnit, does the setup of the webdriver object need to be within the test method itself? Or is there a better way? Previously, for parallel execution ...
0
votes
2answers
247 views

Testing multiple browser configurations via Selenium WebDriver

When covering cross-browser testing using Selenium WebDriver, how do you provide the browser and version information to the tool (e.g. BrowserStack, Sauce Labs)? For example, you're wanting to execute ...
0
votes
1answer
603 views

How to generate report using extent reports in Page Object Model in C#

I have created a POM framework using NUnit in C#. I have created Reporting.cs file which creates reports for the test in that class. How I can generate reports for all tests in different classes ...
0
votes
1answer
529 views

Selenium, data driven testing using NUnit and SQL queries.

I am developing a Selenium Test Automation Framework for the purpose of testing multiple websites. I have currently set up the Framework in Visual Studio using C# and implementing the Page Object ...