Questions tagged [testcase]

A test case in software engineering is a set of conditions or variables under which a tester will determine whether an application or software system is working correctly or not.

A test case is also defined as a sequence of steps to test the correct behavior of a functionality/feature of an application. A test case is a set of conditions or variables under which a tester will determine if a requirement upon an application is partially or fully satisfied. It may take many test cases to determine that a requirement is fully satisfied. In order to fully test that all the requirements of an application are met, there must be at least one test case for each requirement unless a requirement has sub requirements. In that situation, each sub requirement must have at least one test case. Generally Senior tester writes test cases and after verification and approval the junior testers carry out execution of test cases.

998 questions
-1
votes
1 answer

How to automation testing with a Console Application with already test cases set

I just complete a Java CONSOLE application for Student Management. I received a test case set (pdf file contains lines follow according to the requirements of the application) build based on the standard program (from my lecturer). You can overview…
Ohos
  • 1
  • 1
-1
votes
2 answers

How to add mock for following in junit

propSet = childRes.getValueMap().keySet(); Above code written in java can anyone help me to write mock in mockito in junit
-1
votes
1 answer

how to solve "Your Connection Is Not Private" on katalon

While running katalon testcases on windows. I am facing "Your connection is not private" How can I bypass this in headless Chrome? I have tried to use web UI for acceptInsecureCerts but still not working.
Aenx
  • 9
  • 1
-1
votes
1 answer

When using monkeypatch in Pytest to pass different arguments to the same function or API call, I am observing different responses

I'm currently working with Pytest and I need to understand how to use the monkeypatch feature to mock a function that includes an API call. Specifically, I want to obtain different responses for the function based on varying inputs within a for…
-1
votes
1 answer

How to edit testcases in TFS

I want to add a column in test case in "steps" field. Now there are 3 columns "Action", "Expected result", "Attachments", I want to add one more column "Actual result" that will display in every test run iteration. Is there any way to do…
Pasha
  • 1
-1
votes
2 answers

Given a string s, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases

I have made the following code for the above program. In this program the test case "race a car" is not passing i.e. not showing the correct output for this test case. I don't know why. What's the reason? also if there is any way to correct…
vhvg vhcc
  • 19
  • 1
  • 5
-1
votes
1 answer

How to Implement a general Save() Function in a Base Class

As an assessment, I received the following Testcase so I can implement the code behind: [TestCase] public void ProgrammerTest() { var address = new Address("56 Main St", "Mesa", "AZ", "38574"); var customer = new Customer("John", "Doe",…
-1
votes
1 answer

How to read input according to n number of test cases in python?

I came to a new type of problem in competitive programming where I have to read n lines of inputs according to the given test cases. Example input format So, how should I read this, can you please explain to me step-by-step? Waiting for a quick…
Huzaifa
  • 93
  • 2
  • 8
-1
votes
3 answers

How can I migrate test cases with shared steps from TFS to Azure DevOps?

How can I migrate test cases with shared steps and shared parameters from TFS to Azure DevOps? I could migrate test cases but they didn't include the shared steps and shared parameters.
ammarov
  • 7
  • 3
-1
votes
1 answer

Django REST API TestCase Normalize Email failing

I keep failing a test case that tests whether the email passed into the create_user function is normalized correctly. However the normalize_email() method does not seem to be working properly. test_modles.py from django.test import TestCase from…
Nick
  • 624
  • 8
  • 24
-1
votes
1 answer

How to write unit test cases like JUnit for a bean shell script

I have a Bean Shell script and I want to know how can I write test cases like JUnit?
Zaka
  • 1
-1
votes
1 answer

unable to debug segmentation fault for this code

This is the problem from online hackerrank online platform. Nikita and the Game I coded this and my solution passes only the given testcases, it is giving segmentation fault for other testcases on submit. I compared my approach with editorial…
user13145713
  • 109
  • 8
-1
votes
1 answer

If there is eqaution as C=A/B and requirements is C>=0 then can you write testcase on this scenario?

If there is eqaution as C=A/B and requirements is C>=0 then can you write testcase on this scenario?
-1
votes
1 answer

Just doing some exercises and ran into some problems, don't know if its logic or what. I need some eyes

I always come back to this problem, I've never solved it. I don't know why it gives me so many problems. I usually can get passed the first four test cases fine, then it fails or runs too slow. Its been almost a year since I took a crack at it, so I…
csoler
  • 393
  • 2
  • 9
-1
votes
1 answer

Minimal reproducable example to check if some class or some node is present in component? Not snapshot tetsing

Hi I have a component tripDetails and its associate test file import React from 'react'; import { shallow } from 'enzyme'; import toJSON from 'enzyme-to-json'; import tripDetails from './index'; const defaultProps = [ { tripLinkText: 'Book…
midhun k
  • 546
  • 1
  • 12
  • 28