Skip to main content
Share Your Experience: Take the 2024 Developer Survey
3 votes
Accepted

What is Unit testing in the context of YML configuration Alerting rules?

The important part of the blog post you link to isn't testing the syntax of the YAML file; it's testing the semantics of the Prometheus configuration. The core configuration in that post includes a ...
David Maze's user avatar
3 votes
Accepted

How to create GitHub Actions for unit testing in .NET projects?

You do not need to include anything into your assembly to run your tests using GitHub Actions. Just create workflow file in .github/workflows folder with the following content (assuming that you have ....
Leonid's user avatar
  • 91
2 votes

Unit Test AWS Glue job in CodePipeline

Checkout this solution with codepipeline. https://aws.amazon.com/blogs/big-data/implement-continuous-integration-and-delivery-of-serverless-aws-glue-etl-applications-using-aws-developer-tools/
user17183's user avatar
1 vote

Sorting out automated testing in CI pipeline and getting conflicting information related to building, unit testing and Docker images

You've missed the part of the 1st quote about multi-stage builds and other methods which avoid exactly the problem mentioned in the 2nd quote: the resulting image would consist of it's base image and ...
chupasaurus's user avatar
1 vote

Azure DevOps Server: Why does a Visual Studio Test step take so long to run unit tests?

The root cause turned out to be that there were over 100,000 files for the Visual Studio Step to scan for tests, in the Search folder. To resolve, I pointed the search folder to a more specific bin ...
urig's user avatar
  • 121
1 vote

Can Cypress with cucumber replace php unit and regression tests in CI/Cd pipeline?

Yes Cypress is capable to run in CI. https://docs.cypress.io/guides/guides/continuous-integration.html#Record-tests Most of the time it is just running cypress run. In our case we ran the docker ...
030's user avatar
  • 13.2k
1 vote

Unit Test AWS Glue job in CodePipeline

If you are unit testing, you should be mocking external dependencies like Spark and AWS Glue. Look into Python mocking frameworks like unittest.mock, monkeypatch and pytest-mock. Your unit tests ...
David R. Willson's user avatar

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