@@ -30,7 +30,7 @@ task 'info' do
3030 system "#{ CASK } exec #{ EMACS } --version | head -1"
3131end
3232
33- desc "Run the test suite"
33+ desc "Run test suite"
3434task "test" do
3535 process_info "Install package dependencies"
3636 say ""
@@ -45,6 +45,38 @@ task "test" do
4545 exit_when_failed! ( "Test suite failed!\n " )
4646end
4747
48+ namespace :testing do
49+ desc "Run indentation test suite"
50+ task "indentation" do
51+ process_info "Install package dependencies"
52+ say ""
53+ say "#{ indent ( 3 ) } Command: " , :yellow , false
54+ sh "cask install"
55+ say ""
56+
57+ process_info "Run test suite"
58+ say ""
59+ system "#{ CASK } exec ert-runner -t indentation"
60+
61+ exit_when_failed! ( "Test suite failed!\n " )
62+ end
63+
64+ desc "Run font highlighting test suite"
65+ task "fontification" do
66+ process_info "Install package dependencies"
67+ say ""
68+ say "#{ indent ( 3 ) } Command: " , :yellow , false
69+ sh "cask install"
70+ say ""
71+
72+ process_info "Run test suite"
73+ say ""
74+ system "#{ CASK } exec ert-runner -t fontification,syntax-table"
75+
76+ exit_when_failed! ( "Test suite failed!\n " )
77+ end
78+ end
79+
4880def git_changes ( version , version_tag )
4981 run "git commit -a -m \" prepare #{ version } \" "
5082 run "git tag -a -m \" Version #{ version } \" #{ version_tag } "
0 commit comments