Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
accidental-1-ref.png
accidental-1.mscx
accidental-10-ref.png
accidental-10.mscx
accidental-2-ref.png
accidental-2.mscx
accidental-3-ref.png
accidental-3.mscx
accidental-4-ref.png
accidental-4.mscx
accidental-5-ref.png
accidental-5.mscx
accidental-6-ref.png
accidental-6.mscx
accidental-7-ref.png
accidental-7.mscx
accidental-8-ref.png
accidental-8.mscx
accidental-9-ref.png
accidental-9.mscx
accidental-mirror-ref.png
accidental-mirror.mscx
articulation-1-ref.png
articulation-1.mscx
barline-1-ref.png
barline-1.mscx
beams-1-ref.png
beams-1.mscx
beams-10-ref.png
beams-10.mscx
beams-11-ref.png
beams-11.mscx
beams-12-ref.png
beams-12.mscx
beams-13-ref.png
beams-13.mscx
beams-14-ref.png
beams-14.mscx
beams-15-ref.png
beams-15.mscx
beams-16-ref.png
beams-16.mscx
beams-17-ref.png
beams-17.mscx
beams-2-ref.png
beams-2.mscx
beams-3-ref.png
beams-3.mscx
beams-4-ref.png
beams-4.mscx
beams-5-ref.png
beams-5.mscx
beams-6-ref.png
beams-6.mscx
beams-7-ref.png
beams-7.mscx
beams-8-ref.png
beams-8.mscx
beams-9-ref.png
beams-9.mscx
bravura-1-ref.png
bravura-1.mscx
bravura-10-ref.png
bravura-10.mscx
bravura-11-ref.png
bravura-11.mscx
bravura-2-ref.png
bravura-2.mscx
bravura-3-ref.png
bravura-3.mscx
bravura-4-ref.png
bravura-4.mscx
bravura-5-ref.png
bravura-5.mscx
bravura-6-ref.png
bravura-6.mscx
bravura-7-ref.png
bravura-7.mscx
bravura-8-ref.png
bravura-8.mscx
bravura-9-ref.png
bravura-9.mscx
bravura-mmrest-ref.png
bravura-mmrest.mscx
bravura-text-1-ref.png
bravura-text-1.mscx
bravura-text-2-ref.png
bravura-text-2.mscx
bravura-text-3-ref.png
bravura-text-3.mscx
breath-1-ref.png
breath-1.mscx
chord-layout-1-ref.png
chord-layout-1.mscx
chord-layout-10-ref.png
chord-layout-10.mscx
chord-layout-11-ref.png
chord-layout-11.mscx
chord-layout-12-ref.png
chord-layout-12.mscx
chord-layout-13-ref.png
chord-layout-13.mscx
chord-layout-14-ref.png
chord-layout-14.mscx
chord-layout-15-ref.png
chord-layout-15.mscx
chord-layout-16-ref.png
chord-layout-16.mscx
chord-layout-17-ref.png
chord-layout-17.mscx
chord-layout-2-ref.png
chord-layout-2.mscx
chord-layout-3-ref.png
chord-layout-3.mscx
chord-layout-4-ref.png
chord-layout-4.mscx
chord-layout-5-ref.png
chord-layout-5.mscx
chord-layout-6-ref.png
chord-layout-6.mscx
chord-layout-7-ref.png
chord-layout-7.mscx
chord-layout-8-ref.png
chord-layout-8.mscx
chord-layout-9-ref.png
chord-layout-9.mscx
chord-space-1-ref.png
chord-space-1.mscx
chord-space-2-ref.png
chord-space-2.mscx
cross-1-ref.png
cross-1.mscx
cross-2-ref.png
cross-2.mscx
cross-3-ref.png
cross-3.mscx
cross-4-ref.png
cross-4.mscx
drumset-custom-1-ref.png
drumset-custom-1.mscx
edit
emmentaler-1-ref.png
emmentaler-1.mscx
emmentaler-10-ref.png
emmentaler-10.mscx
emmentaler-11-ref.png
emmentaler-11.mscx
emmentaler-2-ref.png
emmentaler-2.mscx
emmentaler-3-ref.png
emmentaler-3.mscx
emmentaler-4-ref.png
emmentaler-4.mscx
emmentaler-5-ref.png
emmentaler-5.mscx
emmentaler-6-ref.png
emmentaler-6.mscx
emmentaler-7-ref.png
emmentaler-7.mscx
emmentaler-8-ref.png
emmentaler-8.mscx
emmentaler-9-ref.png
emmentaler-9.mscx
emmentaler-text-1-ref.png
emmentaler-text-1.mscx
emmentaler-text-2-ref.png
emmentaler-text-2.mscx
emmentaler-text-3-ref.png
emmentaler-text-3.mscx
fmrest-1-ref.png
fmrest-1.mscx
fmrest-2-ref.png
fmrest-2.mscx
fmrest-3-ref.png
fmrest-3.mscx
fmrest-4-ref.png
fmrest-4.mscx
fmrest-5-ref.png
fmrest-5.mscx
fmrest-6-ref.png
fmrest-6.mscx
frametext-ref.png
gen
gen-ref
gen-ref.bat
gen.bat
gliss-1-ref.png
gliss-1.mscx
gliss-2-ref.png
gliss-2.mscx
gonville-1-ref.png
gonville-1.mscx
gonville-10-ref.png
gonville-10.mscx
gonville-11-ref.png
gonville-11.mscx
gonville-2-ref.png
gonville-2.mscx
gonville-3-ref.png
gonville-3.mscx
gonville-4-ref.png
gonville-4.mscx
gonville-5-ref.png
gonville-5.mscx
gonville-6-ref.png
gonville-6.mscx
gonville-7-ref.png
gonville-7.mscx
gonville-8-ref.png
gonville-8.mscx
gonville-9-ref.png
gonville-9.mscx
gonville-mmrest-ref.png
gonville-mmrest.mscx
gonville-text-1-ref.png
gonville-text-1.mscx
gonville-text-2-ref.png
gonville-text-2.mscx
gonville-text-3-ref.png
gonville-text-3.mscx
grace-1-ref.png
grace-1.mscx
grace-2-ref.png
grace-2.mscx
grace-3-ref.png
grace-3.mscx
grace-4-ref.png
grace-4.mscx
grace-5-ref.png
grace-5.mscx
hairpins-1-ref.png
hairpins-1.mscx
harmony-1-ref.png
harmony-1.mscx
harmony-10-ref.png
harmony-10.mscx
harmony-11-ref.png
harmony-11.mscx
harmony-12-ref.png
harmony-12.mscx
harmony-2-ref.png
harmony-2.mscx
harmony-3-ref.png
harmony-3.mscx
harmony-4-ref.png
harmony-4.mscx
harmony-5-ref.png
harmony-5.mscx
harmony-6-ref.png
harmony-6.mscx
harmony-7-ref.png
harmony-7.mscx
harmony-8-ref.png
harmony-8.mscx
harmony-9-ref.png
harmony-9.mscx
hide-1-ref.png
hide-1.mscx
image-1-ref.png
image-1.mscx
instrument-1-ref.png
instrument-1.mscx
layout-1-ref.png
layout-1.mscx
layout-10-ref.png
layout-10.mscx
layout-2-ref.png
layout-2.mscx
layout-3-ref.png
layout-3.mscx
layout-4-ref.png
layout-4.mscx
layout-5-ref.png
layout-5.mscx
layout-6-ref.png
layout-6.mscx
layout-7-ref.png
layout-7.mscx
layout-8-ref.png
layout-8.mscx
layout-9-ref-1.png
layout-9.mscx
layout-sequence-1-ref.png
layout-sequence-1.mscx
layout-sequence-10-ref.png
layout-sequence-10.mscx
layout-sequence-11-ref.png
layout-sequence-11.mscx
layout-sequence-12-ref.png
layout-sequence-12.mscx
layout-sequence-13-ref.png
layout-sequence-13.mscx
layout-sequence-14-ref.png
layout-sequence-14.mscx
layout-sequence-15-ref.png
layout-sequence-15.mscx
layout-sequence-16-ref.png
layout-sequence-16.mscx
layout-sequence-2-ref.png
layout-sequence-2.mscx
layout-sequence-3-ref.png
layout-sequence-3.mscx
layout-sequence-4-ref.png
layout-sequence-4.mscx
layout-sequence-5-ref.png
layout-sequence-5.mscx
layout-sequence-6-ref.png
layout-sequence-6.mscx
layout-sequence-7-ref.png
layout-sequence-7.mscx
layout-sequence-8-ref.png
layout-sequence-8.mscx
layout-sequence-9-ref.png
layout-sequence-9.mscx
line-1-ref.png
line-1.mscx
line-2-ref.png
line-2.mscx
line-3-ref.png
line-3.mscx
line-4-ref.png
line-4.mscx
line-5-ref.png
line-5.mscx
line-6-ref.png
line-6.mscx
lyrics-1-ref.png
lyrics-1.mscx
lyrics-2-ref.png
lyrics-2.mscx
lyrics-3-ref.png
lyrics-3.mscx
lyrics-4-ref.png
lyrics-4.mscx
lyrics-5-ref.png
lyrics-5.mscx
lyrics-6-ref.png
lyrics-6.mscx
lyrics-7-ref.png
lyrics-7.mscx
lyrics-8.mscx
lyrics-ref-8.png
measure-repeat-1-ref.png
measure-repeat-1.mscx
mmrest-1-ref.png
mmrest-1.mscx
mmrest-10-ref.png
mmrest-10.mscx
mmrest-11-ref.png
mmrest-11.mscx
mmrest-12-ref.png
mmrest-12.mscx
mmrest-2-ref.png
mmrest-2.mscx
mmrest-4-ref.png
mmrest-4.mscx
mmrest-5-ref.png
mmrest-5.mscx
mmrest-6-ref.png
mmrest-6.mscx
mmrest-7-ref.png
mmrest-7.mscx
mmrest-8-ref.png
mmrest-8.mscx
mmrest-9-ref.png
mmrest-9.mscx
musejazz-1-ref.png
musejazz-1.mscx
musejazz-10-ref.png
musejazz-10.mscx
musejazz-11-ref.png
musejazz-11.mscx
musejazz-2-ref.png
musejazz-2.mscx
musejazz-3-ref.png
musejazz-3.mscx
musejazz-4-ref.png
musejazz-4.mscx
musejazz-5-ref.png
musejazz-5.mscx
musejazz-6-ref.png
musejazz-6.mscx
musejazz-7-ref.png
musejazz-7.mscx
musejazz-8-ref.png
musejazz-8.mscx
musejazz-9-ref.png
musejazz-9.mscx
musejazz-text-1-ref.png
musejazz-text-1.mscx
musejazz-text-2-ref.png
musejazz-text-2.mscx
musejazz-text-3-ref.png
musejazz-text-3.mscx
noteheadposition-1-ref.png
noteheadposition-1.mscx
ottava-ref.png
ottava.mscx
pedal-1-ref.png
pedal-1.mscx
percussion-grace-ref.png
percussion-grace.mscx
read-206-custom-drumset-1-ref.png
read-206-custom-drumset-1.mscx
slash-1-ref.png
slash-1.mscx
slash-2-ref.png
slash-2.mscx
slashed_chord-layout-12-ref.png
slashed_chord-layout-12.mscx
slashed_chord-layout-7-ref.png
slashed_chord-layout-7.mscx
slashed_grace-3-ref.png
slashed_grace-3.mscx
slashed_noteheadposition-1-ref.png
slashed_noteheadposition-1.mscx
slurs-1-ref.png
slurs-1.mscx
slurs-10-ref.png
slurs-10.mscx
slurs-2-ref.png
slurs-2.mscx
slurs-3-ref.png
slurs-3.mscx
slurs-4-ref.png
slurs-4.mscx
slurs-5-ref.png
slurs-5.mscx
slurs-6-ref.png
slurs-6.mscx
slurs-7-ref.png
slurs-7.mscx
slurs-8-ref.png
slurs-8.mscx
slurs-9-ref.png
slurs-9.mscx
small-1-ref.png
small-1.mscx
staff-1-ref.png
staff-1.mscx
staff-2-ref.png
staff-2.mscx
style.css
system-1-ref.png
system-1.mscx
system-2-ref.png
system-2.mscx
system-3-ref.png
system-3.mscx
system-4-ref.png
system-4.mscx
system-5-ref.png
system-5.mscx
system-6-ref.png
system-6.mscx
system-7-ref.png
system-7.mscx
tablature-1-ref.png
tablature-1.mscx
tie-1-ref.png
tie-1.mscx
tie-2-ref.png
tie-2.mscx
tie-3-ref.png
tie-3.mscx
tremolo-1-ref.png
tremolo-1.mscx
tuplets-1-ref.png
tuplets-1.mscx
tuplets-2-ref.png
tuplets-2.mscx
tuplets-3-ref.png
tuplets-3.mscx
tuplets-4-ref.png
tuplets-4.mscx
user-offset-1-ref.png
user-offset-1.mscx
user-offset-2-ref.png
user-offset-2.mscx
valign-1-ref.png
valign-1.mscx
valign-2-ref.png
valign-2.mscx
valign-3-ref.png
valign-3.mscx
voice-1-ref.png
voice-1.mscx
voice-2-ref.png
voice-2.mscx

README.md

MuseScore Visual Tests

The shell script "gen" creates a subdirectory html with the HTML file vtest.html for visual compare including all needed image files. Travis generates this too and then uploads to http://vtest.musescore.org/index.html

Requirements

In order to generate the diff between the reference file and the generated one, Image Magick needs to be installed and "compare" should be in the PATH.

Add a new test

  • clone a mscx test file into xxx.mscz
  • create the test by editing the xxx.mscx file
  • create reference PNG xxx-ref.png: mscore xxx.mscx -o -r 130 xxx-ref.png
  • add the file to gen and gen.bat

How to use on Windows

  • Install Image Magick, add it to PATH
  • Run gen.bat. It will use msvc.install as a default folder to search MuseScore.exe. If you use mingw build, specify the path to install folder manually: gen.bat win32install
You can’t perform that action at this time.