e-learning
Writing Automated Tests for Galaxy
Abstract
The Galaxy code base contains thousands of tests that include tests of different types (unit vs. functional vs. end-to-end; client vs. backend, etc.) that are supported by a variety of testing frameworks and libraries. In this tutorial, we will offer a small, yet representative sample of the types of tests you might write, as well as the concepts and issues you may need to be familiar with when writing tests for Galaxy code, whether as part of a new feature you are implementing, or as a standalone contribution to Galaxy's testing code.
About This Material
This is a Hands-on Tutorial from the GTN which is usable either for individual self-study, or as a teaching material in a classroom.
Learning Objectives
- Learn about the different types of automated tests in Galaxy
- Learn to write API tests
- Learn to write unit tests
Licence: Creative Commons Attribution 4.0 International
Keywords: Development in Galaxy
Target audience: Galaxy Administrators
Resource type: e-learning
Version: 5
Status: Active
Prerequisites:
- Basic knowledge of Python and JavaScript
- Familiarity with basic Git commands
- Galaxy Code Architecture
- Mac OS or Linux that can run Galaxy & your favorite IDE or editor
Learning objectives:
- Learn about the different types of automated tests in Galaxy
- Learn to write API tests
- Learn to write unit tests
Date modified: 2024-06-25
Date published: 2022-07-15
Scientific topics: Software engineering
Activity log