add example py files to test suite
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 45
- Forks
- 27
- Avg merge
- 12h 34m
- Merged PRs (30d)
- 4
Description
We have a bunch of py examples in src/visitpy/examples. But, they are not routinely tested and so easily fall out of date. I discovered silselect.py was not working due to a change in paths in silo files in the data dir. Why don't we just make these examples tests? That way, we'll know if we do something to break 'em and we can ensure they are up to date (and therefore valid) examples for people to use.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 1295
Status: Pending
Project: VisIt
Tracker: Feature
Priority: Normal
Subject: add example py files to test suite
Assigned to: -
Category: -
Target version: -
Author: Mark Miller
Start: 01/08/2013
Due date:
% Done: 0%
Estimated time:
Created: 01/08/2013 03:36 pm
Updated: 01/15/2013 12:07 pm
Likelihood:
Severity:
Found in version: 2.12.3
Impact: 3 - Medium
Expected Use: 3 - Occasional
OS: All
Support Group: Any
Description:
We have a bunch of py examples in src/visitpy/examples. But, they are not routinely tested and so easily fall out of date. I discovered silselect.py was not working due to a change in paths in silo files in the data dir. Why don't we just make these examples tests? That way, we'll know if we do something to break 'em and we can ensure they are up to date (and therefore valid) examples for people to use.
Comments:
The tests should just check that the scripts run successfully since adding image or text tests would involve adding test harness code, which we don't want to do.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the Python examples under src/visitpy/examples, starting with silselect.py and the referenced data directory paths. Determine how the existing test suite runs scripts, then make the examples execute successfully as tests without adding image or text comparisons; done means the scripts run successfully and catch path regressions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100