Use Nimble to express the expected outcomes of Swift or Objective-C expressions. Inspired by Cedar. Apple's Xcode includes the XCTest framework, which provides assertion macros to test whether code behaves properly. XCTest assertions have a couple of drawbacks. Not enough macros. There's no easy way to assert that a string contains a particular substring, or that a number is less than or equal to another. It's hard to write asynchronous tests. XCTest forces you to write a lot of boilerplate code. Nimble addresses these concerns. Would you like to add more information to the test's failure messages? Use the description optional argument to add your own text. Nimble makes sure you don't compare two types that don't match. Tired of so much typing? With Nimble, you can use overloaded operators like == for equivalence, or > for comparisons.

Features

  • Nimble can test whether an expression raises an exception once evaluated
  • Some testing frameworks make it hard to test primitive C values, but in Nimble, it just works
  • Nimble uses type inference, so you can write the above without explicitly specifying both types
  • In Nimble, it's easy to make expectations on values that are updated asynchronously
  • You can also provide a callback by using the waitUntil function
  • Nimble has full support for Objective-C

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

Apache License V2.0

Follow Nimble

Nimble Web Site

Other Useful Business Software
Paessler: Easy to Use With Enterprise Power. Free Trial Icon
Paessler: Easy to Use With Enterprise Power. Free Trial

A low-code dashboard makes monitoring intuitive for any admin, while scripting and custom sensors give experts full control.

You shouldn't have to choose between a monitoring tool that's easy to use and one that's powerful enough for a complex environment. PRTG's low-code interface lets any admin build dashboards, set alerts and monitor devices without scripting, while custom sensors and full API access are there when your team needs deeper control. One platform, no compromise. Download a free 30-day trial now.
Get Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Nimble!

Additional Project Details

Operating Systems

Linux

Programming Language

Objective C, Swift

Related Categories

Objective C Frameworks, Swift Frameworks

Registered

2022-01-31