Giter Site home page Giter Site logo

outthentic's People

Contributors

lancew avatar manwar avatar melezhik avatar spigell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

outthentic's Issues

Please put new version to cpan

Здравствуйте. Я написал несколько плагинов, которые берут функции из корневого common.* Версия в cpan (0.3.15) такого не умеет. Можете выложить новую версию, если не сложно?

Lowercase modules are tradionally pragmas

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.

set_stdout() issue

Возник вопрос. Как должна работать эта функция в хуках? Должна ли она выводить что-то на консоль?
Сейчас в баше и питоне эта функция ничего не выводит.

[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

Plugin's lib file for all stories

Сейчас файлик common.* нужно класть в каталог к каждой истории.

if test -f "${story_dir}/common.bash"; then

Тоже самое и для руби, насколько я понял.
Может имеет смысл сделать так, чтобы один общий файлик лежал в корне и подтягивался на каждую историю?

Add support new OS to os()

Здравствуйте. Можете добавить поддержку 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() ) могу завести отдельный тикет.

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.