Permalink
Commits on Oct 10, 2015
  1. Refactor `Yardstick::RuleConfig` to use concord

    John Backus authored and backus committed Oct 4, 2015
  2. Refactor `Yardstick::Document` to use concord

    John Backus authored and backus committed Oct 4, 2015
  3. Add dependency on `concord` (~> 0.1.x)

    John Backus authored and backus committed Oct 4, 2015
Commits on Oct 7, 2015
  1. Merge pull request #39 from abinoam/syntax_highlight_readme

    backus committed Oct 7, 2015
    Add language identifiers to code blocks on README.md for syntax highl…
Commits on Sep 29, 2015
  1. Merge pull request #31 from dkubb/fix/master/require-tempfile

    backus committed Sep 29, 2015
    Add explicit require for Tempfile to fix failing travis build
  2. Add explicit require for Tempfile to fix failing travis build

    dkubb committed Sep 29, 2015
  3. Merge pull request #28 from backus/feature/kill-new-mutations

    dkubb committed Sep 29, 2015
    Improve mutation coverage
  4. Add `since: HEAD~1` filter to mutant config

    John Backus
    John Backus committed Sep 28, 2015
  5. Fix race condition causing neutral mutant failure

    John Backus
    John Backus committed Sep 28, 2015
    I think there was a race condition under mutant when
    `Yardstick::Rake::Measurement#define` is being mutated. The race
    condition worked like so:
    
    **Thread 1** writes to measurements/report.txt
    **Thread 2** deletes to measurements/report.txt
    **Thread 1** asserts the value of report.txt
    
    The spec in question now writes to `tmp/measurements-$pid/report.txt`
    which eliminates the issue
  6. Fix maximum line length rule

    John Backus
    John Backus committed Sep 28, 2015
  7. Kill `Rules::Summary::Delimiter#valid?` mutation

    John Backus
    John Backus committed Sep 28, 2015
  8. Kill `RuleConfig` default options mutations

    John Backus
    John Backus committed Sep 28, 2015
  9. Remove `ReportOutput#initialize` spec

    John Backus
    John Backus committed Sep 28, 2015
    Increases mutation coverage for `ReportOutput` as a whole
  10. Kill `Parser.method_objects` YARD registry mutant

    John Backus
    John Backus committed Sep 28, 2015
  11. Kill `Parser.method_objects` filtering mutation

    John Backus
    John Backus committed Sep 28, 2015
    All method objects which have a `file` attribute should have
    a non-nil `line` attribute
  12. Kill `Parser.method_objects` sorting mutations

    John Backus
    John Backus committed Sep 28, 2015
  13. Change `PercentLiteralDelimiters` preference

    John Backus
    John Backus committed Sep 29, 2015
  14. Kill `Yardstick::Parser.documents` mutant

    John Backus
    John Backus committed Sep 28, 2015
  15. Kill `Parser.parse_paths` mutation

    John Backus
    John Backus committed Sep 27, 2015
    - `YARD::Logger::ERROR` is equal to `Logger::ERROR`
    - `YARD::Logger` is autoloaded so, if `YARD::Logger` has not been
      previously referenced, the logger library will not be required and
      tests will fail
    - I tried using `hide_const` but `hide_const` continues to hide
      the `Logger` constant *after* it has been required by YARD
    - I tried `Object.send(:remove_const, 'Logger')` with a conditional
      but this causes an order dependent issue because the second call
      to `require 'logger'` returns false
    - I ended up requiring `yard/logging` to force `Logger` and
      `YARD::Logger` to load
  16. Kill `OrderedSet#initialize` mutation

    John Backus
    John Backus committed Sep 27, 2015
    `merge` in `#initialize` can default to `self` because this
    results in the same noop iteration within `#merge`
  17. Kill `OrderedSet#<<` mutations

    John Backus
    John Backus committed Sep 27, 2015
  18. Change RSpec example wording to not use 'should'

    John Backus
    John Backus committed Sep 27, 2015
    Good RSpec style usually discourages using the word 'should' in
    an example's wording
  19. Fix specs to use `described_class`

    John Backus
    John Backus committed Sep 27, 2015
  20. Change devtools timeout from `0.1` to `1.0`

    John Backus
    John Backus committed Sep 27, 2015
    Occasionally I get a mutant failure because a test runs longer than 0.1
    seconds so I'm bumping up the timeout to 1 second
  21. Fix RSpec instance method descriptions

    John Backus
    John Backus committed Sep 27, 2015
  22. Remove `RuleConfig#initialize` spec

    John Backus
    John Backus committed Sep 27, 2015
    Increases mutation coverage of `RuleConfig` as a whole
  23. Kill `MeasurementSet#puts` mutation

    John Backus
    John Backus committed Sep 27, 2015
    The `#puts` method was not specifying the percentage rounding behavior
    so I added an additional measurement mock to the spec to give it a
    success/fail ratio that would test the rounding.
  24. Kill `Measurement#ok?` mutations

    John Backus
    John Backus committed Sep 27, 2015
  25. Remove `Measurement#initialize` spec

    John Backus
    John Backus committed Sep 27, 2015
    This specific spec file does not specify much by itself.  Mutant only
    selects the tests in this file since its description is
    `Measurement#initialize`.  Removing this spec killed 16 mutations
  26. Kill `DocumentSet#reduce` mutation

    John Backus
    John Backus committed Sep 27, 2015
  27. Kill `Document#summary_text` mutations

    John Backus
    John Backus committed Sep 27, 2015
  28. Kill `Document::NullTag#text` mutation

    John Backus
    John Backus committed Sep 27, 2015
  29. Kill `Yardstick::Config.normalize_hash` mutation

    John Backus
    John Backus committed Sep 27, 2015
  30. Change `Lint/EndAlignment` to align w/ variables

    John Backus
    John Backus committed Sep 25, 2015