Project

General

Profile

Actions

User story #8704

closed

Add tests for current techniques

Added by Alexis Mousset over 8 years ago. Updated over 1 year ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Techniques
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

Add tests for all the currently supported techniques.

We can:

  • Focus on the last supported version
  • Test older versions when it is the same test
  • Target oldest supported Rudder version

This list is the list of maintained techniques in 3.2 (and all of them are also maintained in 3.1):

Important and easy to test

Easy to test completely:

applications/repoGpgKeyManagement/1.0
fileConfiguration/fileManagement/4.0
fileConfiguration/fileSecurity/filesPermissions/2.1
fileDistribution/checkGenericFileContent/7.0
fileDistribution/downloadFile/3.0
fileDistribution/manageKeyValueFile/1.0
systemSettings/misc/genericCommandVariableDefinition/3.0
systemSettings/misc/genericVariableDefinition/2.0
systemSettings/process/servicesManagement/3.0
systemSettings/security/fileAlterationMonitoring/2.0
systemSettings/systemManagement/cronManagement/3.0
systemSettings/systemManagement/fstabConfiguration/4.0
systemSettings/systemManagement/motdConfiguration/3.1
systemSettings/systemManagement/motdConfiguration/3.2
systemSettings/userManagement/groupManagement/5.0
systemSettings/userManagement/sudoParameters/3.0
systemSettings/userManagement/userManagement/6.0
systemSettings/misc/variableFromJsonFile/1.0
systemSettings/networking/dnsConfiguration/3.0
systemSettings/networking/hostsConfiguration/2.0
systemSettings/remoteAccess/sshKeyDistribution/3.0

Easy to partially test:

systemSettings/misc/clockConfiguration/3.0
systemSettings/misc/clockConfiguration/3.1
systemSettings/networking/routingManagement/2.0
systemSettings/remoteAccess/sshConfiguration/4.0
systemSettings/remoteAccess/sshConfiguration/5.0
applications/aptPackageInstallation/4.0
applications/rpmPackageInstallation/7.0

Important and hard to test

# We need to wait for an unknown amount of time
jobScheduling/jobScheduler/1.0
jobScheduling/jobScheduler/2.0
# We have no mechanism to launch a part of the test on the server
fileDistribution/copyGitFile/2.0
fileDistribution/copyGitFile/2.1

Lower priority

applications/apacheReverseProxy/2.0
applications/apacheServer/3.0

applications/aptPackageManagerSettings/3.0
applications/aptPackageManagerSettings/3.1

applications/zmdPackageManagerSettings/3.0
applications/zypperPackageManagerRepositories/1.0
applications/zypperPackageManagerSetup/1.0

systemSettings/misc/partitionSizeMonitoring/3.0

systemSettings/networking/nfsClient/3.0
systemSettings/networking/nfsServer/3.0

Not for now

# Deprecated
applications/openvpnClient/3.0

# Because we cannot use exactly the same testing code
# and these techniques do a lot of different things, which makes them uneasy to test
system/common/1.0
system/distributePolicy/1.0
system/inventory/1.0
system/server-roles/1.0


Related issues 1 (0 open1 closed)

Related to Rudder tools - User story #8670: Test Rudder techniques with rtfRejectedActions
Actions

Also available in: Atom PDF