File: test_helper.rb

package info (click to toggle)
ruby-libxml 2.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,964 kB
  • ctags: 2,319
  • sloc: xml: 8,711; ansic: 8,472; ruby: 7,563; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 441 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# encoding: UTF-8

# To make testing/debugging easier, test within this source tree versus an installed gem

dir = File.dirname(__FILE__)
root = File.expand_path(File.join(dir, '..'))
lib = File.expand_path(File.join(root, 'lib'))
ext = File.expand_path(File.join(root, 'ext', 'libxml'))

#$LOAD_PATH << lib
#$LOAD_PATH << ext

require 'xml'
require 'minitest/autorun'
# require 'minitest/reporters'
# MiniTest::Reporters.use!