hidden

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

Test Automation with Python

Python code just like in any other language requires testing. Unittest is a python framework dedicated for it. It has origins in Junit in terms of code structure and behavior. In this article I will try to illuminate a little bit the topic of testing in Python and provide some good practices.

Marcin Halastra

|

31 Jul 2019


Read more
3

Test Automation with Python

31 Jul 2019 | Marcin Halastra

Python code just like in any other language requires testing. Unittest is a python framework dedicated for it. It has origins in Junit in terms of code structure and behavior. In this article I will try to illuminate a little bit the topic of testing in Python and provide some good practices.

Read more
4

Dealing with Java Exceptions in a functional way

24 Jul 2019 | Przemysław Sobierajski

  Java 

You may have heard that checked exceptions in Java are evil. Some people even say that they are Java’s biggest mistake. There is a lot of languages like Scala, Kotlin, C# or C++ which don’t have checked exceptions at all. Unchecked exceptions are generally better choice. Undoubtedly, you are able to write your code without creating new checked exceptions. However, you have to deal with them constantly, because a lot of standard or popular libraries abuse them. In result, your Java code is full of ugly throw catch clauses. They interfere with a regular application control flow.

Read more
5

Better planning and estimating

17 Jul 2019 | Tomasz Głuszak

  Agile 

There are countless cases where major delays in product development are caused by poor estimation-related decisions. When it comes to both, high-level (long term features) and low-level (user stories, daily tasks) planning, developers tend to underestimate the work.

Read more
6

Building executable jar with Cucumber tests

10 Jul 2019 | Bartek Drzewiński

Depending on how continuous integration and regression testing is constructed in a project, there might be a need to run the same tests couple of times - without any changes to the test framework or tests suites itself. 

Read more
7

Blocking vs non-blocking http servers performance

03 Jul 2019 | Przemysław Sobierajski

  Java 

In this article, I’d like to take a look at the performance and the scalability of both blocking and non-blocking HTTP servers. I’ll compare average response time for multiple REST requests sent to simple endpoints built with Spring Boot and Ratpack.

Read more
8

Why do you need to care about IT security?

12 Jun 2019 | Jakub Sendor

  Security 

Over the past few years we have seen a surge in IT security incidents. Major data breaches at companies like Target, Equifax, and Facebook, Distributed Denial of Service attacks organized either by hacktivist groups or nation states, millions of smaller campaigns spread through phishing, malware, or social engineering attempts – you name it.

Read more
9

Python meets microservice - useful tips based on experience

05 Jun 2019 | Karol Wybraniec

It is impossible nowadays to not hear about microservices. It’s so “buzzy” word that everyone is talking, writing and thinking about it – either developers and managers. In this blogpost I’d like to focus on some useful cases concerning Python & Microservices altogether.

Read more
10

Test your REST API with Spock - Introduction to Spock Framework

29 May 2019 | Dominik Stolarski

In this article I'd like to show you how to test your API with Spock Framework. Spock is a testing framework for Java and Groovy applications. It extends JUnit runner and let us write shorter and more readable code. Spock supports unit testing, BDD and Mocking. It is also great for Data Driven Testing.

Read more
11

Android Architecture Components

22 May 2019 | Piotr Rut

  Mobile 

We all in principle try to perfect our app. Choosing best architecture and frameworks, meticulously planning classes and utilizing design patterns to make best of our work. But with nearly every line written, functionalities become replicated once more.

Read more
    Page 2 of 9