Questions tagged [tests]
The tests tag has no summary.
21 questions
0
votes
4
answers
845
views
Should i write tests if it takes more time than testing manually?
Im making a website and trying to learn Test Driven Development (TDD)
I'm doing one of CS50 projects, were we need to make a website to trade stocks. I decided to use this oportunity to learn TDD. I ...
1
vote
3
answers
359
views
What are the criterion to understand if someone used TDD?
I'm approaching the TDD methodology for software development, reading guides and writing simple applications, because a client of my company wants a software and asked to develop it using TDD ...
-5
votes
2
answers
436
views
What relates to unit testing as requirements relate to system testing?
In system testing, a software system is tested against requirements.
In unit testing, a software module is tested against the internal requirements for this module which depend on the specific ...
3
votes
4
answers
744
views
Should outgoing messages from object under test be tested?
I was watching a recording of a conference by Sandi Metz on testing. One of the things that I struggled with was that she said not to test outputs of the object under test (her example was query ...
0
votes
2
answers
125
views
How to tackle long process system tests?
My service has long running processes.
For example - user can signup, but if email not verified after 7 days, we send a reminder email.
I need my system test to cover this scenario as well.
...
2
votes
1
answer
3k
views
Should integration test coverage allow for lower unit test code coverage? [duplicate]
If a project has 30% coverage by unit tests, 40% due to integration tests, is it fair to say the total is 70% as so moderately well covered?
Or are unit tests only ever used as the standard test ...
2
votes
3
answers
992
views
designing classes for testability
I am writing a library for OVH api calls, and I am wondering how to make it friendly for unit tests.
I have a class APIClient. The constructor of this class initializes the object with all parameters, ...
0
votes
2
answers
547
views
Guideline/best practices on what traits/categories to give to tests
Is there any standard on what traits/categories to give to tests?
Here is an example:
using Xuint;
public class XUnitTest1
{
[Fact]
[Trait("Category", "CI")]
public void TestMethodX1() {...
10
votes
1
answer
20k
views
Can I have more than one describe per test spec?
I started to writing tests a few time ago and faced a non-mature question: can I have more than one describe per unit test file?
If so, in what circumstances this will happen?
Because so far, I'm ...
5
votes
2
answers
5k
views
Multiple entrance points in project
My question is related to C++ but it comes from Java actually.
When I was programming Java I had multiple classes, which were derived from a base "Test" class. Their purpose was to test things - run ...
2
votes
4
answers
829
views
What's the point of Continuous Integration services like Travis CI?
As far as I can tell, services like Travis CI and CircleCI take your project and run its test suite whenever you push a new change to your repository.
Assuming that it's also possible to either ...
14
votes
8
answers
2k
views
How should I validate code when there is no one to do code review? [duplicate]
I'm used to working in a large development environment where code is peer reviewed and tested by the client, who is usually an IT person themselves. I am now working at a very small company where I'm ...
14
votes
8
answers
617
views
Alternative to "Passing/Broken build" indicator?
When having a continuous integration executing the tests at each commit, a common best practice is to have all the tests passing at all times (aka "do not break the build").
I find some problems with ...
3
votes
2
answers
2k
views
What kind of test should be given to Java EE programmers? [closed]
I'm looking to hire developers and I wish to test them. I have been especially told by my boss that we should have programmers on board that can consult on banking sector software and I'm to come up ...
5
votes
2
answers
1k
views
Product Owner and automated tests
One of the claims of BDD-style development is that it bridges the gap between Product Owner and developers: the Product Owner writes a story, which can be converted in an equivalent automated test "...