node-red-quantum / node-red-contrib-quantum

Quantum computing functionality for Node-RED
https://node-red-quantum.github.io/
Apache License 2.0
16 stars 2 forks source link

Timur/more tests #119

Closed ttoktassynov closed 3 years ago

ttoktassynov commented 3 years ago

Purpose

Adding more tests for the nodes to increase overall branch and statements coverage

Changes

New Requirements

louislefevre commented 3 years ago

Good job Timur, seems like branch coverage improved significantly.

master:

-----------|---------|----------|---------|---------|
File       | % Stmts | % Branch | % Funcs | % Lines |                                                                 
-----------|---------|----------|---------|---------|
All files  |   72.34 |    46.52 |   75.93 |    73.9 |

timur/more-tests:

-----------|---------|----------|---------|---------|
File       | % Stmts | % Branch | % Funcs | % Lines |                                                                 
-----------|---------|----------|---------|---------|
All files  |   80.01 |    69.78 |    78.7 |   81.37 |