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
Professional Streaming and Video Hosting - GDPR Compliant - 3Q Icon
Professional Streaming and Video Hosting - GDPR Compliant - 3Q

Secure hosting, scalable streaming, and easy integration for internal and external communications

3Q offers a multifunctional video platform for hosting, managing and distributing video and audio content on all channels. Live and on-demand.
Learn More
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