Given the build has an Angular app as part of it, there are Jasmine tests in there. What do I have to do to get those test results published as part of the build and better yet, gate the build result on successful execution of all Jasmine tests?
相关问题
- Docker task in Azure devops won't accept "$(pw
- Authentication Failure using Git-LFS Azure DevOps
- Getting error: File extension specified '.webt
- “No test result files matching **/*.trx were found
- Azure Graph 403 Authorization_RequestDenied using
相关文章
- Build errors of missing packages in Visual Studio
- VSTS continuous integration triggers not working
- Unit test Angular 2 service subject
- How to run a single test file with Karma/Jasmine?
- spyOn could not find an object to spy upon for sta
- Close a work item via the commit message
- Angular Testing: FormControl valueChanges Observab
- How to unit test Angular controller with $scope.$o
You can do this through the following script and tasks:
ng test
PublishTestResults
taskPublishCodeCoverageResults
taskIn the Azure Pipelines YAML file, this could look as follows: