Skip to main content

Questions tagged [tests]

0votes
4answers
774views

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 ...
Portho Games BR's user avatar
1vote
3answers
340views

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 ...
TodorokiM's user avatar
-5votes
2answers
385views

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 ...
Frank Puffer's user avatar
3votes
4answers
707views

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 ...
Adam Thompson's user avatar
0votes
2answers
117views

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. ...
guy mograbi's user avatar
2votes
1answer
3kviews

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 ...
UserF40's user avatar
2votes
3answers
986views

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, ...
Michał Zegan's user avatar
0votes
2answers
544views

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() {...
mateoc's user avatar
10votes
1answer
20kviews

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 ...
Guilherme Oderdenge's user avatar
5votes
2answers
4kviews

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 ...
luke1985's user avatar
2votes
4answers
807views

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 ...
kettlepot's user avatar
14votes
8answers
2kviews

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 ...
Dylan Karr's user avatar
14votes
8answers
584views

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 ...
Matthieu Napoli's user avatar
3votes
2answers
2kviews

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 ...
Dark Star1's user avatar
5votes
2answers
1kviews

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 "...
Mathias's user avatar

153050per page
close