About 20,600,000 results
Open links in new tab
  1. What is unit testing and how do you do it? - Stack Overflow

    Mar 16, 2009 · Exact duplicate of many posts: What is unit testing? What Makes a Good Unit Test? New to Unit Testing Unit Testing - definitions Learning Unit Testing How to properly …

  2. What is the difference between Unit, Integration, Regression and ...

    Mar 17, 2024 · Briefly: Unit testing - You unit test each individual piece of code. Think each file or class. Integration testing - When putting several units together that interact you need to …

  3. Unit Testing SQL Queries with Dapper - Stack Overflow

    I want to test the queries and the data retrieved by them using Dapper. For example, I have the UserService with the method GetAll(), and I want to test that the SQL query is retrieving all the …

  4. testing - What is the difference between unit tests and functional ...

    A well explained real-life analogy of unit testing and functional testing can be described as follows, Many times the development of a system is likened to the building of a house. While this …

  5. What's the difference between unit tests and integration tests?

    What's the difference between unit tests and integration tests? Are there different names for these tests? Like some people calling unit tests functional tests, etc?

  6. unit testing - When should I mock? - Stack Overflow

    Sep 1, 2008 · I have a basic understanding of mock and fake objects, but I'm not sure I have a feeling about when/where to use mocking - especially as it would apply to this scenario here.

  7. Unit testing private methods in C# - Stack Overflow

    Feb 3, 2012 · Visual Studio allows unit testing of private methods via an automatically generated accessor class. I have written a test of a private method that compiles successfully, but it fails …

  8. .net - How do you unit test private methods? - Stack Overflow

    Oct 30, 2008 · If you want to unit test a private method, something may be wrong. Unit tests are (generally speaking) meant to test the interface of a class, meaning its public (and protected) …

  9. How to unit test with ILogger in ASP.NET Core - Stack Overflow

    Apr 15, 2017 · Can you give an example of how this would work? When unit testing, I'd like logs to appear in the output window, I'm not sure if this does that.

  10. testing - How do you measure the quality of your unit tests?

    The concept of mutation testing seems promising as a way to measure (test?) the quality of your unit tests. Mutation testing basically means making small "mutations" to your production code …