neuron-explorer
Steering-first neuron explorer for Qwen3.5-4B: push every MLP neuron, keep every rollout, browse the results
翻译准备中
A lightweight swift Cucumber implementation
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
Welcome to CucumberSwift
CucumberSwift is a lightweight Swift only Cucumber implementation for iOS, tvOS, and macOS. It was born out of frustration with current iOS Cucumber implementations. The whole goal is to make it easy to install and easy to use, so please feel free to give feedback.
NOTE: WatchOS support coming soon!
NOTE: CocoaPods is no longer supported as of 6.0.0. The last version published to CocoaPods is 5.0.3, and it keeps resolving, but there will be no newer ones. Install CucumberSwift with Swift Package Manager or Carthage instead.查看完整 README ↗CucumberSwift is a lightweight Swift only Cucumber implementation for iOS, tvOS, and macOS. It was born out of frustration with current iOS Cucumber implementations. The whole goal is to make it easy to install and easy to use, so please feel free to give feedback.
Describe behaviour in Gherkin feature files and test it with step definitions written in Swift. Works with both XCTest and Swift Testing:
Given I have 5 cukes in my basket
#Given("I have {int} cukes in my basket") { (count: Int) in
basket.add(count)
}
CucumberSwift includes:
#Given, #When and #ThenAdd CucumberSwift to your Package.swift. Turn on its Macros trait to use the step definition macros:
dependencies: [
.package(url: "https://github.com/cucumberswift/CucumberSwift.git", from: "6.4.0", traits: ["Macros"]),
// Before Swift 6.4, SwiftPM needs this to resolve the Macros trait. No target uses it.
.package(url: "https://github.com/swiftlang/swift-syntax.git", "600.0.0"..<"605.0.0")
],
Then add the CucumberSwiftMacros product to your test target for XCTest, or CucumberSwiftTestingMacros for Swift Testing. Using step definition macros has the whole setup, for a Swift package and for an Xcode project.
You can also install CucumberSwift with Carthage or Bazel. CucumberSwift isn't published to CocoaPods from 6.0.0 on. The last version on CocoaPods is 5.0.3. It still resolves, but no newer version will be published there.
CucumberSwift needs Xcode 16.0 or later, the oldest Xcode that our GitHub Actions CI workflow tests with. Our CI runs on macOS 15 and macOS 26. Your tests can run on iOS 13, macOS 10.15, tvOS 13 and watchOS 7.4 or later. The macros and Swift Testing need Xcode 16.3 or later, and the docs say what other features need. Start with these links:
Come say hi on Slack. Ask questions in #help, keep an eye on #announcements and #activity, and talk shop in #contributors, #general, and #random.
Use Slack for questions, help with using CucumberSwift, and discussion. Use GitHub issues for bugs and feature requests. Slack keeps only 90 days of history. If a conversation settles a bug or a design decision, please write it up as an issue before it scrolls away.
Contributions are welcome. See CONTRIBUTING.md for a short guide to how it works.
Please link an existing issue before you open a PR, or open one that describes the problem or enhancement. Then we can agree on the direction before you write the code. Typo and docs fixes are exempt, so send the PR directly.
CucumberSwift uses work from these projects:
gherkin-languages.json in Cucumber's Gherkin repository