#unit-testing

[ follow ]
software-development
Realpython
2 weeks ago
JavaScript

Python's unittest: Writing Unit Tests for Your Code - Real Python

Unit tests help verify code correctness and quality. [ more ]
Scalac - Software Development Company - Akka, Kafka, Spark, ZIO
4 weeks ago
JavaScript

Mocking Libraries can be your doom

Unit tests are crucial for software quality and bug detection, with mocks being beneficial for isolating dependencies. [ more ]
LogRocket Blog
3 months ago
Software development

An overview of unit testing - LogRocket Blog

Unit testing is a crucial part of the software development lifecycle.
Companies invest a significant amount of resources towards unit testing. [ more ]
moresoftware-development
Realpython
3 weeks ago
JavaScript

Write Unit Tests for Your Python Code With ChatGPT - Real Python

Using ChatGPT can efficiently generate unit tests, improve coverage, reduce errors, aid learning & onboarding in Python code testing. [ more ]
LogRocket Blog
1 month ago
JavaScript

Jest adoption guide: Overview, examples, and alternatives - LogRocket Blog

Jest is a popular JavaScript testing library for unit and integration testing in frontend and backend projects.
Jest provides rich features like mocking, assertion, code coverage, and support for various JavaScript frameworks. [ more ]
Kentcdodds
1 month ago
JavaScript

Avoid Nesting when you're Testing

Nesting in tests can lead to unmaintainable code with test hooks like beforeEach.
Using utilities for simple tests may add unnecessary complexity for maintainers. [ more ]
CodeProject
5 months ago
JavaScript

Test-Driven Development in C#

Test-driven development (TDD) involves writing tests before writing code.
TDD is done in five steps: write a test, the test must fail at the beginning, write the code so that the test passes, execute the test and make sure it passes, refactor the code. [ more ]
Alvinalexander
3 weeks ago
Scala

ScalaTest: How to print debug output in tests (to STDOUT)

ScalaTest's info function can be used to print output for visibility within unit tests, unlike println or System.err.println. [ more ]
Medium
6 months ago
Scala

Programming in Scala [Chapter 14]-Assertions and Unit Testing

Using assertions and conducting unit tests are crucial for ensuring software behaves as intended.
Scala offers various options for creating and executing assertions and unit tests. [ more ]
CodeProject
1 month ago
Software development

Mutation Testing in C#.NET with Stryker

Code coverage is important for measuring test thoroughness but may not guarantee test quality.
Mutation score is a valuable KPI to assess test effectiveness by measuring how well tests detect and eliminate mutations. [ more ]
CodeProject
2 months ago
Software development

NUnit in ASP.NET Core - What You Need to Get Started

ASP.NET Core is an open-source framework for building web applications.
NUnit is a unit-testing framework for C# developers. [ more ]
InfoWorld
2 months ago
DevOps

Microsoft launches lightweight MSTest runner

MSTest runner is a lightweight, portable solution for running MSTests.
Developers can use MSTest runner as a standalone executable for easier testing. [ more ]
CodeProject
3 months ago
Web development

WebApplicationFactory in ASP.NET Core: Practical Tips for C# Developers

Using WebApplicationFactory in ASP.NET Core provides a simplified way to set up and execute integration and unit tests for ASP.NET Core applications.
WebApplicationFactory creates an in-memory TestServer instance of the web application being tested, providing an environment to test HTTP requests and responses. [ more ]
InfoWorld
3 months ago
Running

MSTest runner runs MSTest tests

Microsoft has introduced the MSTest runner, a lightweight and portable runner for the MSTest unit testing framework.
MSTest runner is extensible and makes tests more portable, reliable, and faster by removing the need for external tools and simplifying the test execution process. [ more ]
[ Load more ]