Skip to content

Improve testlib#585

Merged
alexander-yevsyukov merged 43 commits intomasterfrom
improve-types
Nov 6, 2020
Merged

Improve testlib#585
alexander-yevsyukov merged 43 commits intomasterfrom
improve-types

Conversation

@alexander-yevsyukov
Copy link
Contributor

@alexander-yevsyukov alexander-yevsyukov commented Nov 5, 2020

This PR:

  • Updates config.
  • Extends testlib with utility class Assertions, adding methods for asserting throwing popular exceptions, and applies
    them to this project.
  • Introduces TempDir testing utility, which aims to replace Files.createTempDir() from Guava.
  • Improves layout of tests when they were touched by applying new testing utils.

@alexander-yevsyukov alexander-yevsyukov self-assigned this Nov 5, 2020
# Conflicts:
#	license-report.md
#	pom.xml
#	tools/errorprone-checks/src/main/java/io/spine/tools/check/vbuild/UseVBuild.java
#	version.gradle.kts
@codecov
Copy link

codecov bot commented Nov 5, 2020

Codecov Report

Merging #585 (98acf04) into master (1f8aa52) will increase coverage by 0.03%.
The diff coverage is 86.11%.

@@             Coverage Diff              @@
##             master     #585      +/-   ##
============================================
+ Coverage     77.38%   77.41%   +0.03%     
- Complexity     2991     3000       +9     
============================================
  Files           501      503       +2     
  Lines         11541    11554      +13     
  Branches        667      667              
============================================
+ Hits           8931     8945      +14     
  Misses         2382     2382              
+ Partials        228      227       -1     

@alexander-yevsyukov alexander-yevsyukov changed the title Improve types Improve testlib Nov 6, 2020
@alexander-yevsyukov alexander-yevsyukov marked this pull request as ready for review November 6, 2020 00:20
@alexander-yevsyukov alexander-yevsyukov requested review from armiol and removed request for yuri-sergiichuk November 6, 2020 10:59
Copy link
Collaborator

@armiol armiol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexander-yevsyukov LGTM in general. Please see my comments.

@alexander-yevsyukov alexander-yevsyukov merged commit 6d0f761 into master Nov 6, 2020
@alexander-yevsyukov alexander-yevsyukov deleted the improve-types branch November 6, 2020 21:04
This was referenced Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants