Skip to content

Commit 3d64096

Browse files
initial commit lot of todos to process later
1 parent ed8a954 commit 3d64096

File tree

1 file changed

+65
-2
lines changed

1 file changed

+65
-2
lines changed

README.md

Lines changed: 65 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,65 @@
1-
# software-testing-notes
2-
Software Testing Notes
1+
# Software testing notes #
2+
3+
## Introduction ##
4+
5+
### Software needs tests at least because ###
6+
7+
- to know that software works as intended
8+
- prevent software from bugs or find bugs asap
9+
- tests helps a lot with big changes in code as refactoring, migrations etc.
10+
11+
### As i see very important things regarding testing are ###
12+
13+
- you would like to **write neither many nor not enough tests**. Balance is the key. Because to much tests costs time. And time means money. Not enough code leads to many bugs, production problems, unsatisfied customer that lead to more fixing less writing new code thatwhat cost also time and can lead to lossing the customer (worst scenario).
14+
15+
- you would like to **write tests that are working** !! You would like to have stronger tests than weak (weaker) tests. So question is, which testing strategies to choose and why? Because bad testing strategies could lead also to same results as many or not enough tests (result mentioned earlier).
16+
17+
- you would like **automate your tests** to run them periodically.
18+
19+
- you would like to **do so less manual tests than it is possible** because they are time consuming and cannot be repeated immediately / on demand. Each repetition consumes a lot of time in comparison with automated tests.
20+
21+
### Personal notes ###
22+
23+
- I believe in **multi-layered testing strategy**. That means you are using more than one type of tests to achieve the main goal - to have software properly tested.
24+
- I dont believe in **hunting bigger code coverage percentage number** ! Why bigger number if your tests are weak or wrong ? First think about things like is my test correct ? Is it my test doing what i think ? It is my test testing properly ? Is it my test working just with correct inputs or also with wrong ones ?
25+
- **I am not really fan of TDD**, regardless if [it is dead](https://martinfowler.com/articles/is-tdd-dead/) [or not](http://david.heinemeierhansson.com/2014/tdd-is-dead-long-live-testing.html). Just philosophical question here (I would like not spend so much time here with TDD so just one question) : Why start with something that is not a main product (test) instead of something that is major (software) ?
26+
27+
28+
## Testing categories
29+
30+
There are so many test types. It is of course possible group different tests to categories. To have better picture i start with categories first.
31+
32+
TODO
33+
34+
### Testing tools / frameworks (Java)
35+
36+
- [Junit]() - white box testing, unit testing, component testing, functional testing.
37+
- [Cucumber]() - white box testing, black box testing, grey box testing, acceptance testing, BDD.
38+
- [REST Assured]() - white box testing, black box testing, grey box testing, acceptance testing.
39+
- [Serenity]() - UI Testing
40+
- [JGiven](http://jgiven.org) - BDD.
41+
- [Selenium](https://www.seleniumhq.org) UI testing.
42+
- [Postman](https://www.getpostman.com)
43+
- [PowerMock](https://github.com/powermock/powermock)
44+
- [Mockito](https://site.mockito.org)
45+
- [TestNG](https://testng.org/doc/index.html)
46+
- [Spock](http://spockframework.org)
47+
- [Spring Test]() - Functional testing
48+
- [DBUnit](http://dbunit.sourceforge.net)
49+
- [Apache JMeter]() - Functional testing ,Non Functional testing
50+
- [Arquillian]() - Functional testing
51+
- [Gatling]() - Non functional testing, Functional testing
52+
53+
##
54+
55+
### Usefull links
56+
57+
- [the-classification-of-kinds-of-software-testing](http://blog.qatestlab.com/2011/04/09/the-classification-of-kinds-of-software-testing/)
58+
- [classification-among-testing](https://www.softwaretestinggenius.com/classification-among-testing/)
59+
- [the-classification-of-types-of-software-testing](https://www.utest.com/articles/the-classification-of-types-of-software-testing)
60+
- [software-testing](https://www.guru99.com/software-testing.html)
61+
- [types-of-software-testing](https://www.softwaretestinghelp.com/types-of-software-testing/)
62+
- [types-of-software-testing](https://www.guru99.com/types-of-software-testing.html)
63+
- [Martin Fowler - Is TDD Dead](https://martinfowler.com/articles/is-tdd-dead/)
64+
- [tdd-is-dead-long-live-testing](http://david.heinemeierhansson.com/2014/tdd-is-dead-long-live-testing.html)
65+

0 commit comments

Comments
 (0)