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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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