Writing Unit Tests for a Class That Starts External EXE
I wrote a C# class that is used to start a list of EXEs (not one of mine – third party EXEs I have to run) and keep them running (will check occasionally to make sure it is still running, and start them if not).
As a professional developer, is it acceptable to not write unit tests? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
What level do I mock when I have function A calling function B which calls the database?
I have created a scenario in which I have two functions, A and B, both are tested, but despite the tests I still injected a rather stupid bug and some data is not getting into the database. Note that there is no ORM present. I’ve written my CRUD operations directly, and I’m paying the price therefor.
Testing my VB.NET code?
I’m having trouble developing unit testing approaches to testing both if the “code does what I want it to do”, and testing “does my code work”.
How big does my project need to be for me to unit test it? [closed]
Closed 10 years ago.
Unit Tests code duplication?
How can I avoid code duplication in unit tests?
Standards of unit testing output [closed]
Closed 9 years ago.
Can unit testing software be used to unit test itself?
QUnit advertises itself on its web page like this:
Unit Testing: “It’s a code smell if you’re refactoring and there are no collaborators”?
I’m reading The Art of Unit Testing by Roy Osherove. I’m at section 7.2 Writing maintainable tests where the author has this note about code smell:
What Are Some Tips For Writing A Large Number of Unit Tests? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]