Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Publish marble as a separate project #2315

Closed
tusharmath opened this issue Jan 30, 2017 · 6 comments
Closed

Proposal: Publish marble as a separate project #2315

tusharmath opened this issue Jan 30, 2017 · 6 comments

Comments

@tusharmath
Copy link

tusharmath commented Jan 30, 2017

Making the marble testing as a separate project that is agnostic to RxJS would benefit the testing capabilities in other libraries such as — most and xstream.

cc: @staltz @briancavalier

@staltz
Copy link
Member

staltz commented Jan 30, 2017

Somewhat related to this is that I have thought of standardizing a DSL grammar for describing "events in time".

@mattpodwysocki
Copy link
Collaborator

@tusharmath @staltz I wouldn't be opposed as @headinthebox and I were trying to do just that, come up with a language neutral compliance suite for how values over time should flow. All push based streams should be able to take advantage, especially if the ES-Observable moves forward

@Zalastax
Copy link

Related to: Productizing our test suite, This.JavaScript: Ben Lesh talks about the test suite in RxJS, and my proof of concept extraction of the test suite. Ben summarizes all the things that needs to be considered very well, so make sure to check out the video. Is there a text document available as well somewhere?

@staltz
Copy link
Member

staltz commented Mar 15, 2017

There's a project for Cycle.js that also uses ascii diagrams, https://github.com/cyclejs/time, and it's mostly compatible with RxJS's syntax.

They have some nice additions, and I think we could:

  • try to spec/standardize the DSL independent of implementation or library
  • consider some syntax additions

Syntax additions:

whitespace to help align cases with parentheses:

--1---2    --3------4---|
--1---(234)--3------4---|

ellipsis to indicate much later in time:
--1---2--...20...--5-|
same as
--1---2------------------------5-|

(...20... expands as 20 times -)

I can push myself to draft a spec for this, just be aware I'm not a spec guy and might make mistakes.

@kwonoj
Copy link
Member

kwonoj commented Aug 14, 2017

let's aggregate discussion into #1775, it's kind of dupe.

I have long-stalled repo to achieve this implementation but blocked due to personal reasons, should get back soon.

@kwonoj kwonoj closed this as completed Aug 14, 2017
@lock
Copy link

lock bot commented Jun 6, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants