jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • JBehave
  • JBEHAVE-149

Support loading of stories from ODT format

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 3.4
  • Component/s: ODF Support
  • Labels:
    None

Description

As a BA I want to be able to write my story in a ODT format

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Hide
    Zip Archive
    jbehave-odf-with-table.zip
    02/May/11 5:04 PM
    24 kB
    Bart De Neuter
    1. XML File
      jbehave-odf/pom.xml 0.9 kB
    2. Java Source File
      jbehave-odf/.../LoadOdtFromClasspath.java 0.8 kB
    3. Java Source File
      jbehave-odf/src/.../odf/LoadOdtFromURL.java 0.6 kB
    4. Java Source File
      jbehave-odf/src/main/.../odf/OdfUtils.java 3 kB
    5. Java Source File
      jbehave-odf/src/.../OdtLoaderBehaviour.java 3 kB
    6. File
      jbehave-odf/src/test/.../stories/a_story.odt 10 kB
    7. Text File
      jbehave-odf/src/test/.../stories/a_story.txt 0.5 kB
    8. File
      jbehave-odf/src/.../a_story_with_table.odt 11 kB
    Download Zip
    Show
    Zip Archive
    jbehave-odf-with-table.zip
    02/May/11 5:04 PM
    24 kB
    Bart De Neuter

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Jan Kronquist added a comment - 13/Jan/11 4:14 AM

Perhaps only the examples are useful to have in a spreadsheet? Have a look at http://jira.codehaus.org/browse/JBEHAVE-417

Show
Jan Kronquist added a comment - 13/Jan/11 4:14 AM Perhaps only the examples are useful to have in a spreadsheet? Have a look at http://jira.codehaus.org/browse/JBEHAVE-417
Hide
Permalink
Bart De Neuter added a comment - 13/Jan/11 2:12 PM

While I was playing with jbehave I made a Story loader to load ODT files in order to use OpenOffice to create scenario's. This way you can add also other information to the stories like images, styling, ...
I put the code on google-code: http://code.google.com/p/jbehave-utils/ (maven project with some tests)

Maybe ODS files (spreadsheat) can be done in a similar way?

Show
Bart De Neuter added a comment - 13/Jan/11 2:12 PM While I was playing with jbehave I made a Story loader to load ODT files in order to use OpenOffice to create scenario's. This way you can add also other information to the stories like images, styling, ... I put the code on google-code: http://code.google.com/p/jbehave-utils/ (maven project with some tests) Maybe ODS files (spreadsheat) can be done in a similar way?
Hide
Permalink
Mauro Talevi added a comment - 14/Apr/11 7:45 AM

Started with ODT format support. Other formats like ODS can be added later in the same jbehave-odf module.

Show
Mauro Talevi added a comment - 14/Apr/11 7:45 AM Started with ODT format support. Other formats like ODS can be added later in the same jbehave-odf module.
Hide
Permalink
Jonathan Woods added a comment - 14/Apr/11 7:51 AM

I wonder if this is the time to introduce a strategy such as StorySource: List<Story> getStories(). Then all these various... er, story sources could be used by anything which needed stories, via Configuration implementations or whatever. And it would make mocking nice and easy.

I realise that many story sources get their stories from a path, but that's not a necessary feature of being a StorySource as suggested here.

Show
Jonathan Woods added a comment - 14/Apr/11 7:51 AM I wonder if this is the time to introduce a strategy such as StorySource: List<Story> getStories(). Then all these various... er, story sources could be used by anything which needed stories, via Configuration implementations or whatever. And it would make mocking nice and easy. I realise that many story sources get their stories from a path, but that's not a necessary feature of being a StorySource as suggested here.
Hide
Permalink
Mauro Talevi added a comment - 14/Apr/11 8:03 AM

Hi Jon, the support of alternative formats to load stories is quite a separate concern.

Let's discuss the proposed story source strategy separately.

Show
Mauro Talevi added a comment - 14/Apr/11 8:03 AM Hi Jon, the support of alternative formats to load stories is quite a separate concern. Let's discuss the proposed story source strategy separately.
Hide
Permalink
Bart De Neuter added a comment - 02/May/11 5:04 PM

Mauro,

I made some adjustments in order to use a real odt table in the text document. In that sense you can specify the example table with a nice layout. I attached the changes I made to your code.

Show
Bart De Neuter added a comment - 02/May/11 5:04 PM Mauro, I made some adjustments in order to use a real odt table in the text document. In that sense you can specify the example table with a nice layout. I attached the changes I made to your code.
Hide
Permalink
Mauro Talevi added a comment - 02/May/11 6:26 PM

Thanks, Bart. Patch applied.

Show
Mauro Talevi added a comment - 02/May/11 6:26 PM Thanks, Bart. Patch applied.

People

  • Assignee:
    Mauro Talevi
    Reporter:
    Mauro Talevi
Vote (0)
Watch (0)

Dates

  • Created:
    09/Nov/08 11:41 AM
    Updated:
    02/May/11 6:26 PM
    Resolved:
    14/Apr/11 7:45 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.