melezhik / outthentic Goto Github PK
View Code? Open in Web Editor NEWMultipurpose scenarios framework
Multipurpose scenarios framework
Здравствуйте. Я написал несколько плагинов, которые берут функции из корневого common.* Версия в cpan (0.3.15) такого не умеет. Можете выложить новую версию, если не сложно?
Hi,
Seeing your swat
and now outhentic
modules, I just wanted to mention that on CPAN, it's traditional that lowercase modules are pragmas (like warnings
or strictures
).
It just might be confusing for your users to find a lowercase module that isn't a pragma.
Also, your current upload of outhentic
is just an empty placeholder. It's a good way to earn disrepute, so I'd suggest you try to first create at least something the users could try. It doesn't have to be perfect or even fully-workable, but it should not be entirely empty.
Возник вопрос. Как должна работать эта функция в хуках? Должна ли она выводить что-то на консоль?
Сейчас в баше и питоне эта функция ничего не выводит.
[vagrant@localhost set_stdout_test]$ cat ./story.py
from outthentic import *
set_stdout ('HELLO STDOUT')
[vagrant@localhost set_stdout_test]$ strun --debug 2
make cache dir: /home/vagrant/.outthentic/tmp/2971/story-0
configuration populated and saved to /home/vagrant/.outthentic/tmp/2971/story-0/config.json
project: /home/vagrant/set_stdout_test
story: /home/vagrant/set_stdout_test
story_type: upstream
debug: 2
ignore story errors: 0
• at 2017-07-07 22:23:03
execute scenario: PYTHONPATH=$PYTHONPATH:/home/vagrant/.outthentic/tmp/2971/story-0:/usr/local/share/perl5/auto/share/dist/Outthentic python /home/vagrant/set_stdout_test/story.py
ok scenario succeeded
[dsl::] HELLO
context populated
[lookup] HELLO ...
context modificator applied: Outthentic::DSL::Context::Default
CAPTURES saved at /home/vagrant/.outthentic/tmp/2971/story-0/captures.json
not ok text has 'HELLO'
end of story: /home/vagrant/set_stdout_test
STATUS FAILED (2)
Но в самом файлике фраза присутствует
[vagrant@localhost set_stdout_test]$ cat /home/vagrant/.outthentic/tmp/2971/story-0/std.out ; echo
HELLO STDOUT
Сейчас файлик common.* нужно класть в каталог к каждой истории.
outthentic/bash_lib/outthentic.bash
Line 1 in 984518e
Configuring M/ME/MELEZHIK/Outthentic-0.3.17.tar.gz with Makefile.PL
CPAN: CPAN::Reporter loaded ok (v1.2018)
Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@INC contains: ....
Please see
http://blogs.perl.org/users/todd_rinaldo/2017/05/reviewing-perl-5-in-inc-at-the-perl-toolchain-summit.html
https://rt.cpan.org/Public/Bug/Display.html?id=120850
Здравствуйте. Можете добавить поддержку archlinux и fedora для этой функции. В текущий момент выдает пустоту.
[spigell@hammerhead ~]$ cat ./story.bash
echo $os - my os
echo ok
at 2017-03-17 14:43:24
- my os
ok
Для sparrowdo ( target_os() ) могу завести отдельный тикет.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.