FRC2706 / FRC2706/2019-2706-Robot-Code

Report from automated testing this year

Open
#170 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

For the first time on this team we had our robot code automatically tested using JMockit and azure pipelines to actually run the tests.

Initially getting everyone used to the framework took some time, but after a couple of weeks we had tests for all components of the robot.

We ran into issues when under tight deadlines we found we had no time to complete tests for all the subsystems that we were rushing to complete, especially when each time we added more code we had to modify the tests for unrelated parts of the robot since new mocking would be required.

If we were to continue with automated testing in the future, we would need to improve on a couple of things. The first thing to be improved is the ability to more easily create a method for mocking a certain set of classes for all tests which used things which would change in the future.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue documents automated testing with JMockit and Azure Pipelines, but names no files, tests, or entry points. Clarify the desired mocking improvement and its scope before identifying the affected code and defining what completion means.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, java
Domain
robotics, testing
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.