O'Reilly logo

Qt 5 Projects by Marco Piccolino

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Saving a composition as an image

A feature our users will certainly want is a way to save the result of their experimentation to use as the basis for further creation steps. We will thus give them the option to save a composition as an image to disk:

Feature: Save composition to image    Scenario: Success        Given there is a composition        When I save the composition to image        And I specify a save location        And the save is successful        Then I am told that the save was successful        And I can find the image in the specified location    Scenario: Failure        Given there is a composition        When I save the composition to image        And I specify a save location        And the save is not successful        Then I am told that the save was not successful

Again, this feature specification ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required