Skip to content

henrytao-me/testrail-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

testrail-converter

CSV Migration Script

This script can be used to convert test cases stored in CSV and Excel to TestRail's XML import file format.

You can use the script as follows:

php csv2testrail.php <filter-script> <input-file> <output-file> [mode] [delimiter]
php csvformatter.php <filter-script> <input-file> <output-file> [delimiter]

a PHP script to extract the CSV data for conversion. See the project website for more details.

should be the filename of a CSV file with test cases you want to convert (for example, an exported Excel file).

specifies the filename of the resulting TestRail import/export file.

[mode] An optional mode. The following modes are available:

--export The default behavior; exports the data to the XML file. --csv For debugging: prints the CSV data as seen by the script --cases For debugging: prints the cases after the filter script was called --tree For debugging: prints the section/case tree after analyzing the cases and sections

[delimiter] Allows you to override the default comma delimiter.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages