glados
A simple testing framework that tries to break your properties.
1.1.7
42K downloads/mo
#1591 most downloaded on pub.dev
MarcelGarus/glados
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 1.1 years
Nearly every release is documented
notes for 32 of 32 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
32 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
32 releases · Oct 2020 to Dec 2023
2021
2022
2023
2024
2025
2026
Releases
latest 32-
1.1.704 Dec 2023Release notes
Open source →- Update dependencies and remove unneeded ones.
- Add CI.
- Thanks to @greyhairredbear and @tjarvstrand!
-
1.1.618 Oct 2022Release notes
Open source →- Fix passing
exploretoGlados2andGlados3. - Update dependencies.
- Thanks to @MSCL!
- Fix passing
-
1.1.502 Sep 2022Release notes
Open source →- Fix the generation of
any.bigIntInRange. - Update licenses to MIT.
- Thanks to @Kharacternyk and @andreilg!
- Fix the generation of
-
1.1.427 Aug 2022Release notes
Open source →- Fix the shrinking of
doubles. - Update dependencies.
- Thanks to @andreilg and @jibbers42!
- Fix the shrinking of
-
1.1.329 Jan 2022 -
1.1.222 Dec 2021 -
1.1.118 Oct 2021Release notes
Open source →- Format internal
rich_type.dartfile correctly. - Update readme to be more contributor-friendly.
- Thanks to @MikkelStorgaard!
- Format internal
-
1.1.012 Oct 2021Release notes
Open source →- Add
Generator.bind. - Add
any.oneOfgenerator. - Make
any.eitheraccept up to ten generators. - Thanks to @MikkelStorgaard!
- Add
-
1.0.307 Oct 2021 -
1.0.205 Oct 2021 -
1.0.127 Mar 2021Release notes
Open source →- Document all generators.
- Add
any.positiveDoubleandany.negativeDoubleOrZero. - Fix off-by-one-errors in
int8,int16,int32.
-
1.0.023 Mar 2021Release notes
Open source →- The API is now stable!
- Migrate to null-safety.
- Fix many typos in the readme.
- Fix many typos in this changelog.
- Rename
any.lettertoany.letters,any.uppercaseLettertoany.uppercaseLetters,any.lowercaseLettertoany.lowercaseLetters, andany.digittoany.digits. - Add
any.nonEmptyStringOf,any.nonEmptyLetters,any.nonEmptyUppercaseLetters,any.nonEmptyLowercaseLetters, andany.nonEmptyDigits. - Remove
any.uint64because integers are always int64. - Fixed bug when attempting to generate ints larger than 2^32.
- Directly export 'package:test/test.dart', so that you don't have to do so manually.
-
0.4.010 Nov 2020Release notes
Open source →- Support
asynctests. Exploreis nowExploreConfig.- You can now use all parameters accepted by the standard
testfunction (to set timeouts, configure which platform the test runs on, etc.). Glados forwards those parameters. - Your tests can depend on a
Random! Just usetestWithRandom. - Rename invariant to property to align with the terminology usually used in property-based testing frameworks.
- Make
PropertyTestNotDeterministicerror more helpful. - Glados itself is now (partially) tested.
- Support
-
0.3.404 Nov 2020 -
0.3.304 Nov 2020 -
0.3.203 Nov 2020 -
0.3.103 Nov 2020 -
0.3.002 Nov 2020Release notes
Open source →- Make the
NoGeneratorFounderror even more helpful by suggesting packages. - Make the
InvariantNotDeterministicerror more helpful. - Remove the code generator because higher-level primitives make writing generators just a few lines of code.
- Fix analysis warnings.
- Make the
-
0.2.228 Oct 2020 -
0.2.128 Oct 2020 -
0.2.028 Oct 2020Release notes
Open source →- Make architecture more flexible: Split arbitraries into
Generators andShrinkables. - Add generators:
- Meta generators:
simple,always,choose,either,combine2,combine3,combine4,combine5,combine6,combine7,combine8,combine9,combine10 intgenerators:intInRange,positiveInt,positiveIntOrZero,negativeInt,negativeIntOrZero,uint8,uint16,uint32,uint64,int8,int16,int32,int64doublegenerators:doubleInRange,positiveDoubleOrZero,negativeDoublenumgenerator:numInRangeBigIntgenerator:bigIntInRangeListgenerators:listWithLengthInRange,listWithLengthSetgenerators:setWithLengthInRange,setWithLength,nonEmptySetDateTimegenerators:dateTimeBeforeEpoch,dateTimeAfterEpochDurationgenerators:positiveDuration,negativeDurationStringgenerators:letterOrDigit
- Meta generators:
- Improve shrinking for
doublegenerators: They now shrink the decimal digits before their value (e.g.,2.2is considered less complex than2.1008). - Improve the code generator:
- It uses the new meta generators to generate more concise code.
- It provides a much better error experience.
- Make the readme more concise.
- Make the package more lightweight by moving the sticker image to a separate location and removing the git files.
- Make architecture more flexible: Split arbitraries into
-
0.1.626 Oct 2020Release notes
Open source →- Add quickstart section to readme.
- Fix errors in the readme.
- Remove several unused files.
-
0.1.526 Oct 2020 -
0.1.423 Oct 2020Release notes
Open source →- Add code generator.
- Add arbitrary:
stringOf. - Flesh out the example.
- Fix analysis error.
-
0.1.323 Oct 2020 -
0.1.223 Oct 2020 -
0.1.123 Oct 2020Release notes
Open source →- Improve readme, including adding a Glados sticker at the top.
- Add arbitraries:
nonEmptyList,positiveInt,positiveIntOrZero,negativeInt,negativeIntOrZero
-
0.1.023 Oct 2020Release notes
Open source →- Redesign API: Syntax is now
Glados<...>().test(...). Theanyprovides a namespace for allArbitrarys. - Improve readme and describe customization options.
- Improve console output.
- Add arbitraries:
lowercaseLetter,uppercaseLetter,letter,digit - Make errors more helpful by providing a call to action.
- Redesign API: Syntax is now
-
0.0.421 Oct 2020Release notes
Open source →- Improve readme.
- Add arbitraries:
null,bool,int,double,num,bigInt,dateTime,duration,set,list,mapEntry,map - Improve errors.
-
0.0.321 Oct 2020 -
0.0.221 Oct 2020Release notes
Open source →- Add
glados2andglados3for testing with multiple input parameters. - Improve readme.
- Improve console output.
- Add doc comments.
- Add
-
0.0.121 Oct 2020