goregen
goregen copied to clipboard
randexp for Go.
error parsing regexp: invalid escape sequence: `\s` ![image](https://user-images.githubusercontent.com/29203912/122735513-ae490f00-d2b1-11eb-91a9-cd288c60fb4f.png)
Hey, First of all, I want to appreciate the author of this project. This library is super useful for testing. Sadly, the repo is abandoned, so I had to fork...
There is a dependency on (unmaintained) gxui, just to get `math.Max` from gxui in tests.
consider regex `0{1,10}`, https://goregen-demo.herokuapp.com/?Regex=0%7B1%2C10%7D&Count=10 after performing this query 10 times it appears that the results are skewed towards the lower lengths, with a majority of the results being `0` and...
[GoConvey](https://github.com/smartystreets/goconvey/wiki) makes tests more readable and descriptive, and has more flexible assertions.