1,004 questions
0
votes
0
answers
39
views
Unable to move Test Case work items between projects in ADO “Work item type Test Case cannot be moved because it is disabled, hidden or not supported”
I'm trying to move Test Case work items from one Azure DevOps project to another within the same organization.
However, when I try to move them, I get the following error:
Work item type Test Case ...
0
votes
1
answer
83
views
AzureDevops API - create test points
is there a way to create Test Point in Azure Devops? I can find in documentation how to update existing test point - assign tester, etc... but my use case is to create a particular number of test ...
0
votes
1
answer
97
views
Laravel 11: Routes Work in Browser and Postman but Not Found in PHPUnit Tests
I am developing a modular project in Laravel 11, where each module defines its routes inside itself. The routes are working perfectly in the browser and Postman, but when testing the same routes using ...
1
vote
1
answer
82
views
The failed test cases image are broken inside my Jenkins report
The images inside the Jenkins report are broken but the same images are not inside the local report.
I am using the Jenkins Free model to run test cases but in the Jenkins report the images appear ...
0
votes
1
answer
22
views
fControl.get is not a function in angular unit test
Trying to write an unit test for changeFunctionalityStatus(). facing the issue like fControl.get is not a function .
Stuck with this Anyone pls help me why this issue coming. TIA
...
0
votes
1
answer
85
views
How to submit nested test suites with plugin qase-pytest?
I'm struggling to created nested suites when using qase-pytest plugin, hence in the docs, it can be use dot annotation to create the nested test suites but it doesn't works. I use the library from ...
-1
votes
1
answer
367
views
I am getting this error while writing the test case : - Trying to run get method on non-active contract
I am writing smart contracts to mint fungible tokens(jettons) in the FunC language for the TON. While writing the test case i am getting below error :-
Trying to run get method on non-active contract
...
-1
votes
1
answer
47
views
How to write unit test case using Jamine to test form controls touched, untouched and dirty conditions
I have a form built using reactive forms angular and I have the below code.
The entire if conditions says , branch not covered, how can i make sure the branch is covered.
this.tableOptions.rowData....
0
votes
2
answers
1k
views
Azure DevOps: Link Test case to User Story during bulk import
While conducting a bulk upload of test cases to Azure DevOps, I want each test case to be linked to an existing User Story with Link Type of Tested By.
Is this possible?
1
vote
1
answer
55
views
Django TestCase slef.client.patch gives a 404 error
I want to test the update function of a view set
from rest_framework.viewsets import ModelViewSet
@extend_schema(tags=['Customers'])
class CustomerViewSet(ModelViewSet):
""" This ...
0
votes
1
answer
493
views
Is it possible that Azure devops backlogs view will show testcases as well?
I would like to see testcases on the backlog view but it is not showing even though they are linked. Is there a way to make them appear on the backlog views?
I've tried to google it without any ...
0
votes
1
answer
44
views
Django test case is showing errors because of moesif
I do not want to push actual api key. When I replaced the actual key on code base this error is generated
E vcr.errors.CannotOverwriteExistingCassetteException: Can't overwrite existing ...
-1
votes
1
answer
19
views
Django unit test fixing database row id
from django.test import TestCase
class DefTests(TestCase):
def setUp(self):
# first made the label
UserType(label="mylabel").save() ## UserType is model object, and I ...
0
votes
0
answers
37
views
type 'Null' is not a subtype of type 'Future<UserPermissionApiResponse>' while writing unit test case in dart using mocktail
I am trying to write the unit test case for a method called authenticate which has nested method of the same class called login. Now I want to mock the login method and run the test case. I did that ...
0
votes
1
answer
104
views
How can the Toy object I get from a Child object not be the same as passed in through the constructor? [closed]
I am doing an assignment that requires me to create the code that will make this run with no errors or failures. This is only one test case:
Toy t1 = new Toy(1000121, "Red Bike", 3, 98.90);
...
0
votes
1
answer
2k
views
How to clear/reset mockimplementation for a method using Jest
Using Jest I've mockimplemented the method and testcase is getting succeeded and for testcase2 I need to implement same mock method with different input and I'm unable to do that.
jest.mock('../../lib/...
1
vote
2
answers
716
views
How to Null Check?
My application developed by C# (Microsoft.EntityFrameworkCore, version 6.0.25).
I am using Moq (version 4.20.70) and NUnit (version 4.0.1) for unit test cases
I tried below method to null check,
[...
0
votes
0
answers
60
views
Django existing db records not found in testcase when using postgresql
ubuntu 22.04, mysql 8.0.35, postgresql 16.1, python 3.8.18, django 4.2
django default db = "mydb"
We have a large data set saved in "mydb", generating that takes a long time.
While ...
0
votes
2
answers
175
views
Rename testcase parameters in Azure DevOps
For my project we use the Test Plans and Test Cases work items within Azure DevOps for quite some time. Now from an automation perspective we want to rename a few of the paramters in some of our ...
0
votes
1
answer
125
views
How to write selenium code for validate asterisk symbol
How to write selenium code for validate asterisk availablity with mandatory fields e.g First Name* , Last Name* , Enter Address*, Enter Phone Number*
Need to validate asterisk availablity after the ...
1
vote
1
answer
118
views
how to send entity json and multipart file to json data using mockmvc
@RestController
@CrossOrigin
public class KycController {
org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(KycController.class);
@Autowired
private KycRepo repo;
@Autowired
...
1
vote
2
answers
80
views
Python program for ant count fails for a particular test case
I am trying to make a Python program to solve the following problem:
A large number of ants live on the island of Eden and reproduce at a rate of 40% per month. There is also an anteater on the ...
0
votes
1
answer
111
views
In CoreClassReflection.php Class Does Not Exist While Using Infection
I try to use Infection to evaluate my testcase using php, I have 2 file (Displayuser.php, displayuserTest.php)
for the first file Displayuser.php the code like this, this file under func folder
<?...
0
votes
1
answer
422
views
Testrail: Can I use the test run configuration values within a test case so that they are available within the test execution?
In current TestRail v8.0.1 Default (1030) I use configurations a lot during test run definition.
It would be great to have these values (often more than one) available during test execution.
I tried ...
1
vote
0
answers
317
views
java.lang.ClassNotFoundException during execution of Contextloads() method in Spring Boot JUnit test case
We have a Spring boot v 2.7.x application, running on java 11. And we want to switch to java 17 and Spring boot 3.0.0.
But now, when I am making the changes locally (IDE is IntelliJ), the following ...