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

: implement qqx #587

Closed
p6rt opened this issue Jan 6, 2009 · 6 comments
Closed

: implement qqx #587

p6rt opened this issue Jan 6, 2009 · 6 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jan 6, 2009

Migrated from rt.perl.org#62024 (status was 'resolved')

Searchable as RT62024$

@p6rt
Copy link
Author

p6rt commented Jan 6, 2009

From @moritz

I know that rakudo doesn't prioritize implementation of the various
quoting constructs, but there are various things that need testing
($*OUT.say, @​*ARGS (which seems to be broken atm), command line
switches, things like RT #​61980) that can't be tested without that
feature, or similar features.

Any way to execute another command and capture the result without too
much pain would enable me to write such tests.

Cheers,
Moritz

@p6rt
Copy link
Author

p6rt commented Jan 7, 2009

From @pmichaud

On Tue, Jan 06, 2009 at 12​:11​:28PM -0800, Moritz Lenz wrote​:

I know that rakudo doesn't prioritize implementation of the various
quoting constructs, but there are various things that need testing
($*OUT.say, @​*ARGS (which seems to be broken atm), command line
switches, things like RT #​61980) that can't be tested without that
feature, or similar features.

Any way to execute another command and capture the result without too
much pain would enable me to write such tests.

Execute another command is easy to handle. In fact, we already have
C<run> for this.

"Capture the result" is hard. In fact, it's been a long-requested
feature for Parrot (especially for Parrot testing), but AFAIK
Parrot hasn't provided a way to do this yet. This might have
changed with the recent I/O changes, though.

I think the related Parrot ticket is RT #​46865, which talks about
attempting to capture process output for purposes of testing.

Pm

@p6rt
Copy link
Author

p6rt commented Jan 7, 2009

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Apr 11, 2010

From @ShimmerFairy

As far as I can tell, qqx is implemented. There do not, however, appear
to be tests. I don't fully understand quoting constructs, so I don't
trust myself to write tests :)
--
Don't Panic!

@p6rt
Copy link
Author

p6rt commented Jul 9, 2010

From @moritz

Now tested in t/spec/S02-literals/quoting.t

@p6rt
Copy link
Author

p6rt commented Jul 9, 2010

@moritz - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Jul 9, 2010
@p6rt p6rt added the Todo label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant