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

You Might Also Like
RMM Software | Remote Monitoring Platform and Tools Icon
RMM Software | Remote Monitoring Platform and Tools

Best-in-class automation, scalability, and single-pane IT management.

Don’t settle when it comes to managing your clients’ IT infrastructure. Exceed their expectations with ConnectWise RMM, our MSP RMM software that provides proactive tools and NOC services—regardless of device environment. With the number of new vulnerabilities rising each year, smart patching procedures have never been more important. We automatically test and deploy patches when they are viable and restrict patches that are harmful. Get better protection for clients while you spend less time managing endpoints and more time growing your business. It’s tough to locate, afford, and retain quality talent. In fact, 81% of IT leaders say it’s hard to find the recruits they need. Add ConnectWise RMM, NOC services and get the expertise and problem resolution you need to become the advisor your clients demand—without adding headcount.
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