knope 0.22.4

A command line tool for automating common development tasks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::helpers::{
    GitCommand::{Commit, Tag},
    TestCase,
};

/// Run a `PreRelease` then `Release` for a repo not configured for gitea.
///
/// # Expected
///
/// Version should be bumped, and a new tag should be added to the repo.
#[test]
fn gitea_release() {
    TestCase::new(file!())
        .git(&[Commit("feat: Existing feature"), Tag("v1.0.0")])
        .run("pr --dry-run"); // Cannot run real release without integration testing gitea.
}