Skip to main content
3 votes
Accepted

How do I convince a customer to implement more tests than just "happy case" tests

Without knowing the details, if you as a tester see that the happy test cases will never fail, then the money invested in them is probably wasted. Some thoughts: You might want to think of other ...
dank8's user avatar
  • 251
3 votes

Should I design negative tests for my Test Automation?

What does your product manager say? Your product owner (aka stake holder) will be interested in listening to your reason for having positive tests and negative tests or not. You may need to present ...
Yu Zhang's user avatar
  • 9,942
2 votes

Creating negative tests

Yes. I treat positive and negative tests as basic tests. I treat them quite similarly and use them both in my tests. I assert that the things I should see are there and that things I shouldn't see ...
Michael Durrant's user avatar
2 votes

Is negative testing possible in TestNG?

You could extract the code for registration and invoke it from two test cases: @Test public void registration_with_unused_email_address_should_be_accepted() { // Create needed user data (e.g. ...
beatngu13's user avatar
  • 2,132
2 votes
Accepted

How to report and record a negative test case

They should be marked as succeeding, not failing. The test itself is to validate that low privilege users can't access things that they aren't permitted to, so a successful test is one in which ...
Kevin McKenzie's user avatar
2 votes
Accepted

How to perform "front end unit testing" of Single Page Applications?

My approach to this is twofold: Jasmine Jasmine is unit testing of the javascript code. The first time I saw jasmine described as "unit testing" it took me a while to get it. I thought unit ...
Michael Durrant's user avatar
2 votes
Accepted

Negative testing - delivering error when it should not?

This question is the reason I prefer not to use "positive" and "negative" test case terminology. There are some sources who maintain that testing expected error conditions is "negative" testing. ...
Kate Paulk's user avatar
  • 31.5k
1 vote

Negative testing - delivering error when it should not?

I do not see contradictions here. You have some definition of a valid input. Testing a valid input is defined as a positive case. (Those are basically the cases the system is designed for). There is ...
Alexey R.'s user avatar
  • 11.6k
1 vote

Creating negative tests

When I write wrong data in some of the fields do I need to assert/verify right data about that field or I don't need to use assert/verify at all? Yes, you will definitely to verify wrong data you ...
Yu Zhang's user avatar
  • 9,942
1 vote

Creating negative tests

First we need to define positive vs negative testing: Positive testing is the type of testing that can be performed on the system by providing the valid data as input. Negative Testing is a ...
Niels van Reijmersdal's user avatar
1 vote

Should I design negative tests for my Test Automation?

Negative scenarios "expected errors" should be commonly checked as well as positive scenarios. The expected error handling is a part of software and an important part of user guidance in software ...
Ivan Gerasimenko's user avatar
1 vote

Should I design negative tests for my Test Automation?

It depends on your time frame, If you have enough time to cover negative path scenarios it really helps to test all the validation error messages, alert boxes , information messages ....etc.
ChathuD's user avatar
  • 2,147

Only top scored, non community-wiki answers of a minimum length are eligible