#单元测试 #macos #macos-ios #运行 #终端 #命令行 #持续集成

应用 xrun

macOS的命令行工具。使用xrun,您可以通过终端更快地运行Xcode单元测试。

9个重大版本

0.10.0 2024年8月7日
0.9.0 2024年7月11日
0.8.0 2024年6月18日

#91测试 中排名

Download history 87/week @ 2024-04-27 327/week @ 2024-05-04 179/week @ 2024-05-11 43/week @ 2024-05-18 279/week @ 2024-05-25 215/week @ 2024-06-01 13/week @ 2024-06-08 176/week @ 2024-06-15 7/week @ 2024-06-22 5/week @ 2024-06-29 117/week @ 2024-07-06 12/week @ 2024-07-13 4/week @ 2024-07-27 128/week @ 2024-08-03 10/week @ 2024-08-10

每月下载量142次

MIT 许可证

760KB
292

Logo

macOS的命令行工具。使用xrun,您可以通过终端或CI更轻松、更方便地运行iOS和macOS单元测试。

    __  __    ____      _   _   _   _
    \ \/"/ U |  _"\ uU |"|u| | | \ |"|
    /\  /\  \| |_) |/ \| |\| |<|  \| |>
   U /  \ u  |  _ <    | |_| |U| |\  |u
    /_/\_\   |_| \_\  <<\___/  |_| \_|
  ,-,>> \\_  //   \\_(__) )(   ||   \\,-.
   \_)  (__)(__)  (__)   (__)  (_")  (_/  (0.10.0)

💻 https://github.com/heroesofcode/xrun
===================================================

📋 Processing.......


CoreTests
    ✅ testSuccessWhenRegisteringTheUICollectionViewCellAndDequeuing (0.064 seconds)
    ✅ testSuccessWhenRegisteringTheUITableViewCellAndDequeuing (0.013 seconds)
    ✅ testWhenSetupBaseViewWithSuccess (0.001 seconds)

DesignSystemTests
    ✅ testShouldValidateLayout (0.137 seconds)

CoordinatorTests
    ✅ testHandleEvent (0.002 seconds)
    ✅ testInit (0.003 seconds)
    ✅ testStart (0.001 seconds)

AnalyticsTests
    ✅ testExample (0.001 seconds)

AuthenticationTests
    ✅ testShouldValidateLayout (0.093 seconds)


🗳️  The results have been completed below

+---------+-------------+-----------------+------------------+
| Runtime | Total Tests | ✅ Passed Tests |  ❌ Failed Tests |
+============================================================+
| 65.45s  | 9           | 9               | 0                |
+---------+-------------+-----------------+------------------+

👏 Congratulations, no errors were found!!!

如何使用?

请参阅https://heroesofcode.github.io/xrun/中的文档。

贡献

要贡献,只需fork此项目,然后打开一个pull request,欢迎贡献,提出想法并在问题标签页中提出任何问题。

许可证

xrun在MIT许可证下发布。有关详细信息,请参阅LICENSE

依赖项

~19-30MB
~267K SLoC