Tag: testing

64 votes
1 answers
1K views
Does TestCafe support sections in page objects (like Nightwatch does) ? If not, how can we achieve this in TestCafe?

We have rich UI with lot of web elements & multi levels of elements on UI segregated into sections. As p

avatar
Venice
0 1 0 9
asked 07 September, 2021
64 votes
0 answers
812 views
ancestors.shift is not a function

I'm trying to get automated tests back up and running and having the following issue when I run a test. T

avatar
Dusty
0 1 0 9
asked 07 September, 2021
56 votes
1 answers
599 views
Navigate context menu with nightwatch.js?

Im using nightwatchjs and having some difficulties with selecting a text and triggering a right-click and navi

avatar
Jeff
0 1 0 9
asked 07 September, 2021
55 votes
1 answers
795 views
How can I use npm package selenium-standalone with Nightmare.js instead of downloading the selenium jar?

As the title suggests, I want to use Nightmare.js with selenium. However, their documentation only mentions th

avatar
Hilario
0 1 0 9
asked 07 September, 2021
62 votes
3 answers
1.3K views
What is a Selenium wrapper?

Does it wrap around Selenium and provide a simpler or different method of invoking the functionality of Seleni

avatar
Emilia
0 1 0 9
asked 07 September, 2021
65 votes
15 answers
2.3K views
How to unit test with ILogger in ASP.NET Core

This is my controller: public class BlogController : Controller { private IDAO<Blog> _blogDAO;

avatar
Shantay
0 1 0 9
asked 07 September, 2021
60 votes
9 answers
1.5K views
.NET Core Unit Testing - Mock IOptions<T>

I feel like I'm missing something really obvious here. I have classes that require injecting of options u

avatar
Boyd
0 1 0 9
asked 07 September, 2021
51 votes
2 answers
1.1K views
Unexpected outcome of node.js vs ASP.NET Core performance test

I am doing a quick stress test on two (kinda) hello world projects written in node.js and asp.net-core. Both o

avatar
Clarice
0 1 0 9
asked 07 September, 2021
59 votes
30 answers
1.1K views
How do I test a private function or a class that has private methods, fields or inner classes?

How do I unit test (using xUnit) a class that has internal private methods, fields or nested classes? Or a fun

avatar
Georgie
0 1 0 9
asked 07 September, 2021
59 votes
2 answers
1.9K views
How do I use PHPUnit with CodeIgniter?

I have read and read articles on PHPUnit, SimpleTest, and other Unit Testing frameworks. They all sound so gre

avatar
Venice
0 1 0 9
asked 07 September, 2021