Project

General

Profile

Actions

Bug #19397

closed

Rework the style tests

Added by Félix DALLIDET over 3 years ago. Updated about 3 years ago.

Status:
Rejected
Priority:
N/A
Category:
CI
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

The style tests are currently way too complicated for what they do.
We should clean up the tests, a first step is to pass all the tests in the same formats. We have our own 'testall' that runs bash and python tests
that do not requires any test framework overlay.

I will translate all the tests located in the 30_generic_methods in python using unittest since some tests already use it.
This way, it should be easier to understand what each test does since they will follow a documented and standard format, callable in a single line.


Subtasks 1 (0 open1 closed)

Bug #19412: Switch to avocado framwork instead of testall custom script to run the testsReleasedAlexis MoussetActions
Actions #1

Updated by Félix DALLIDET over 3 years ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #2

Updated by Félix DALLIDET over 3 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Alexis Mousset
  • Pull Request set to https://github.com/Normation/ncf/pull/1297
Actions #3

Updated by Félix DALLIDET over 3 years ago

  • Status changed from Pending technical review to In progress
  • Assignee changed from Alexis Mousset to Félix DALLIDET

I'm taking over this issue!

Actions #4

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.14 to 6.1.15
Actions #5

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.15 to 6.1.16
Actions #6

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.16 to 6.1.17
Actions #7

Updated by Benoît PECCATTE about 3 years ago

  • Project changed from 41 to Rudder
  • Category changed from CI to CI
Actions #8

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.17 to 6.1.18
Actions #9

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.18 to 6.1.19
Actions #10

Updated by Alexis Mousset about 3 years ago

  • Status changed from In progress to New
Actions #11

Updated by Alexis Mousset about 3 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF