Skip to content

Commit

Permalink
Remove all tests from the gem
Browse files Browse the repository at this point in the history
  • Loading branch information
julik committed Dec 28, 2018
1 parent 217f9f1 commit bf3d86b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
8 changes: 8 additions & 0 deletions test/HELP_WHY_TESTS_ARE_EMPTY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Tracksperanto has a huge test corpus of source and destination files, which is stored in the project's Github repo.
This is why the repo is so big. Bundling tests with the tracksperanto gem increases the size from 100+ KB to
over 4 MB, and most people installing Tracksperanto do not need this test data.

If you intend to actually write code that uses Tracksperanto or to fix
a bug, you will most definitely need all the test data. In that case, just do a git checkout. Check
the Tracksperanto::VERSION and check out the corresponding Git tag from our
Github repository at https://github.com/guerilla-di/tracksperanto
10 changes: 0 additions & 10 deletions test/import/README.rdoc

This file was deleted.

2 changes: 1 addition & 1 deletion tracksperanto.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
end.reject do |f|
f.start_with? "test/subpixel"
end

spec.files << "test/HELP_WHY_TESTS_ARE_EMPTY.md"
spec.bindir = "bin"
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
Expand Down

0 comments on commit bf3d86b

Please sign in to comment.