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

Capture result as an Erlang terms (tuple/list) instead of outputting text to terminal #300

Open
hauleth opened this issue Jan 10, 2019 · 3 comments

Comments

@hauleth
Copy link

hauleth commented Jan 10, 2019

I am building Elixir wrapper over Concuerror and it would be handy if I could capture resulting data and format it by myself instead of relying on built in formatter/output.

@aronisstav
Copy link
Member

aronisstav commented Jan 14, 2019

A similar issue has been in my TODO list for a while. :) aronisstav#51

Let's talk requirements for a minimal working version:

  • add a --output_type (pretty|raw) flag (minor point: think what happens if raw is used from the command line).
  • when output_type is raw, the return value of concuerror:run([...]) should be something along the lines of
{ok | fail | error, Errors, More}
  where
    Errors = [#{ errors := [...], trace := [...]}],
    More = #{ explored => ..., ...}}

[pause here, will get back to this later this week]

@Nezteb
Copy link

Nezteb commented Apr 13, 2023

It's been a few years, so I figured I'd check in.

@hauleth Are you still working on that Elixir wrapper? I'm interested. 😄

@aronisstav Do you have any other ideas about how this might be implemented? I don't write much Erlang but would love to help if possible!

@hauleth
Copy link
Author

hauleth commented Apr 19, 2023

No, I am currently not working on wrapper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants