GithubHelp home page GithubHelp logo

gnithin / flow-test Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 103 KB

A pod to unit-test non-UI flows based on method selectors strings

License: MIT License

Ruby 1.94% Objective-C 74.46% Shell 23.61%

flow-test's Introduction

Hi!

I am Nithin ๐Ÿ‘‹

  • ๐Ÿข Software dev @Klaviyo, ex-SDE @Media.net
  • โค๏ธ React and Python
  • โ›๏ธ Worked on projects in Golang, Objective-C, PHP, long long ago
  • ๐Ÿ“ซ Email me @ [email protected]

flow-test's People

Contributors

gnithin avatar

Stargazers

 avatar

Watchers

 avatar  avatar

flow-test's Issues

Arguments assertions as well in the method-specs

There should be another macro similar toKMFMakeMethodSpec which takes in a third argument which is a block. The block will contain the invocation object. That invocation object can be used to fetch the arguments of the current method. It can then be used to assert the values it represents.

Support for Swift

Test this out for swift. It should not cause too many pain-points since XCTestCase is used similarly ๐Ÿคž . This would involve building and testing this for various swift versions

Handle repetitions of the methods

There could be times where a method added to the flow-test is called multiple times. Currently, the end-user is expected to add it every single time that method might be called. This should be made a lot easier.

Not sure how I'd perform this

Negative method-specs assertions

Assert that certain methods are not to be called at all! I have no idea if this is a useful feature, but I've encountered circumstances where this could be useful

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.