Tech blog of j-labs' engineers. Experiences, knowledge, solutions.

Parametrized tests - solutions overview (TestNG, JUnit4, JUnit5)

Parametrized tests are a lot easier to maintain. Usually when single requirement changes it’s enough to change one variable in the code. You don’t have to read the whole implementation of the test (If you know what your variable means).

Paweł Proc

|

07 Nov 2018


Read more
3

Parametrized tests - solutions overview (TestNG, JUnit4, JUnit5)

07 Nov 2018 | Paweł Proc

Parametrized tests are a lot easier to maintain. Usually when single requirement changes it’s enough to change one variable in the code. You don’t have to read the whole implementation of the test (If you know what your variable means).

Read more
4

How to make Nigthwatch.js library work with async/await?

25 Oct 2018 | Paweł Proc

Although it's quite powerful tool, you need to customize it to get the full benefit of it. One of these improvements is usage of async/await commands (from Node 7.6 version). In this article I am going to show you how to adjust your code to make this commands work.

Read more
5

The benefits of Code Reviews

10 Oct 2018 | Maciej Krzysica

Are you tired of scrolling through dozens of red and green files in code reviews, only to click “Reviewed” after a few minutes of staring at the screen? You should be. Because this is not the point of reviewing the code.

Read more
6

Node.js module testing with Chai and Sinon framework

03 Oct 2018 | Grzegorz Wziątek

In this article I will show you how to write unit tests for Node.js modules and its dependencies from scratch.

Read more
7

Building Selenium framework in java (part IV) - answer job interview questions like a pro

19 Sep 2018 | Bartek Drzewiński

In my opinion, Software Developer in Test job interviews are one of the most demanding interviews in IT market. How come?

Read more
8

JUnit 5: Preview of new possibilities

05 Sep 2018 | Przemysław Sobierajski

JUnit 5 comes with a bunch of new features. In this article I will briefly describe most of them.

Read more
9

Building Selenium framework in java (part III) - how do you fit Cucumber in there

22 Aug 2018 | Bartek Drzewiński

In this article let me explain how I think Cucumber fits Selenium based test framework written in java

Read more
10

Building Selenium framework in java (part II) - do it right for the first time

11 Jul 2018 | Bartek Drzewiński

In this article I would like to share with you how I build new end to end testing solutions for web projects. I’ll try to explain how well thought test framework architecture can improve test code quality.

Read more
11

JUnit 5: Quick start guide

04 Jul 2018 | Przemysław Sobierajski

JUnit 5 enables many different styles of testing and focuses on Java 8 and above. In this article I will show you how to start with new version of JUnit.

Read more
12

Building Selenium framework in java (part I) - what should you know before you start

27 Jun 2018 | Bartek Drzewiński

Nowadays test automation is an integral part of software development process. I decided to create series of blog entries, which will describe how to create customized Selenium test framework in java from scratch to make it fully functional, easy to use and maintain.

Read more
13

Performance of modern JavaScript frameworks

20 Jun 2018 | Grzegorz Wziątek

Lots of developers when start building yet another JavaScript application do not think about important thing which is the web application performance. Let’s cover this significant aspect of software development.

Read more
14

Selenium Webdriver - browser preferences for downloading files

22 Jun 2017 | Paweł Motyka

In this article you will find and introduction to browser’s profiles/preferences and quick solution for managing downloading files from script level.

Read more
15

Spock vs Junit with Mockito

18 Apr 2017 | Wojciech Maziarz

Spock and JUnit are frameworks for unit testing of Java applications. Mockito is a well – known and stable library of mocking extensions for JUnit to write tests in Java language.

Read more
16

Testing in React

07 Apr 2017 | Paweł Kasperowicz

A few approaches for React Testing. It won't be focused on the detailed configuration of each tool but it rather show how to embrace tool for better quality of the code.

Read more
17

TDD in practice

06 Apr 2017 | Wojciech Maziarz

Test Driven Development is one of fundamental practices in the Agile methodology.

Read more
18

Deep Equality in C# for Unit Testing

05 Apr 2017 | Adrian Jarzyna

This article presents a short overview of methods of deep comparison between objects in Unit Tests.

Read more
19

Given-When-Then pattern in unit tests

03 Apr 2017 | Mateusz Starzyk

We can say that it is a style/template how we can describe some functionality (system behavior) in more readable and natural for human way.

Read more