File: test.rake

package info (click to toggle)
tj3 3.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,048 kB
  • sloc: ruby: 36,481; javascript: 1,113; sh: 19; makefile: 17
file content (17 lines) | stat: -rw-r--r-- 550 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$:.unshift File.join(File.dirname(__FILE__), '..', 'test')

require 'rake/testtask'

CLEAN.include "test/TestSuite/Export-Reports/refs/Leave.tjp"
CLEAN.include "test/TestSuite/Export-Reports/refs/ListAttributes.tjp"
CLEAN.include "test/TestSuite/Export-Reports/refs/Macro-4.tjp"
CLEAN.include "test/TestSuite/Export-Reports/refs/TraceReport.tjp"

# TEST TASK
desc 'Run all unit tests in the test directory'
Rake::TestTask.new(:unittest) do |t|
  t.libs << 'test'
  t.test_files = FileList['test/test_*.rb']
  t.verbose = false
  t.warning = true
end