This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* MIT License | |
* | |
* Copyright (c) 2024 Todd Ginsberg | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package sample; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
public final class STExec | |
{ | |
public STExec() | |
{ | |
exec(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Library | Language | Assertion Style | Integration with Testing Frameworks | IDE Integration | Pros | Cons | |
---|---|---|---|---|---|---|---|
AssertJ | Java | Fluent | checked | checked | Supports a wide range of assertions, easy to read and write | Limited support for custom assertions | |
Hamcrest | Java | Matcher-based | checked | Provides a wide range of matchers, easy to read and write | Can be verbose for some use cases | ||
JUnit 5 Assertions | Java | Multiple styles (assertXXX(), fail()) | checked | checked | Built-in to JUnit 5, easy to use, supports a wide range of assertions | Limited to use with JUnit 5 | |
Truth | Java | Fluent | checked | Easy to read and write, supports a wide range of assertions, good IDE integration | Limited support for custom assertions | ||
KotlinTest | Kotlin | Multiple styles (shouldXXX(), expectXXX()) | checked | checked | Provides a wide range of assertions, easy to use, supports custom assertions | Can be complex for some use cases | |
Scalatest | Scala | Multiple styles (assert(), expect(), should()) | checked | checked | Good integration with testing frameworks, flexible | Can be |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"allAbis": [ | |
"armeabi-v7a", | |
"arm64-v8a" | |
], | |
"validAbis": [ | |
"ARMEABI_V7A" | |
] | |
} |