Skip to content

☀️ 机器学习单元测试平台,零代码、全方位、自动化 测试 方法/函数 的正确性、可用性和性能。☀️An unit testing platform powered by machine learning. Coding-free, comprehensive and automatic testing for methods/functions.

License

Notifications You must be signed in to change notification settings

zerolugithub/unitauto-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unitauto-go

UnitAuto Go 库,可通过 GitHub 仓库等远程依赖。
UnitAuto Go Library for remote dependencies with GitHub repo, etc.

image

image

image

image

image

image

1. 在 go.mod 中添加 GitHub 仓库

1. Add the GitHub repository to go.mod

	require (
		github.com/TommyLemon/unitauto-go v1.0.0
	)

2. 执行 go get 命令

2. Run go get command

	go get github.com/TommyLemon/unitauto-go@v1.0.0

3. 参考主项目文档来测试

3. Test by following the main repo

https://github.com/TommyLemon/UnitAuto

由于 Go 的反射限制,目前做不到像 Java, Kotlin 版几乎绝对零代码,还需要注册 func 和 struct 的实例,
不过注册代码可以通过 UnitAuto-Admin 前端管理网页设置项 [查看、同步方法文档] 来生成,复制粘贴到被测项目中:
Due to the limitation of Go, it's not almost absolutely coding free like Java and Kotlin,
and you need to write few code to register the funcs and structs to be tested.
However, the code can be generated by clicking the setting item [View/Sync doc] of UnitAuto-Admin,
then you can copy and pasted the "ginCode" into the project under test instead of coding:

https://github.com/TommyLemon/unitauto-go/blob/main/main.go image image

About

☀️ 机器学习单元测试平台,零代码、全方位、自动化 测试 方法/函数 的正确性、可用性和性能。☀️An unit testing platform powered by machine learning. Coding-free, comprehensive and automatic testing for methods/functions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%