GithubHelp home page GithubHelp logo

festive's Introduction

Festive

docs crates.io License: MIT OR Apache-2.0 CI Minimum rustc version

Festive is a celebration of the rusty_fork crate. I have stripped down, modernized and proc_macroifyied our well loved rusty_fork crate as a learning experiment. What has come out on the other side is an extremely simple alternative where you may run your tests in an isolated process via the #[festive] attribute. No need to add the #[test] attr and if you would like a timeout just do something like the following: #[festive(timeout_ms = 100)].

Quality

If you want a crate that is battle hardened over the years, use rusty_fork. If you want something that has lots more tests use rusty_fork. If you want something that isnt a toy project use rusty_fork. If you want.... well you get the picture.

Todo:

  • Add failing test file for #should_panic

Example

use festive::festive;
use std::process;

#[festive]
fn forked() {
    println!("Forked: My pid={}", process::id());
}

Rust Version Requirements

1.42+

License

Licensed under either of the following at your option.

Credit

Most of this is lifted from rusty_fork, please direct any credit there.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

festive's People

Contributors

estk avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.