Skip to main content
Skip table of contents

Folder Mapping Logic

🔄 How Synchronization Works

Trigger

Action

Git push to target branch

App receives webhook, scans modified test files

.java, .py, .robot

Test methods/functions/keywords are extracted

Match in Xray

Existing test case is updated

No match

New Generic test case is created in Xray

📌 Only files under configured directories (e.g. tests/) are scanned.

Test case title = your-repo.dir.file.class.method or your-repo.dir.file.keyword

definition = method code block or keywords


🧬 Example Recognition Patterns

Java

CODE
public class LoginTests {
    @Test
    public void shouldLoginWithValidCredentials() {
        // Valid login test
    }
}

→ Test Case: your-code.file-path.file-name.LoginTests.shouldLoginWithValidCredentials
→ Definition: Valid login test

Python

CODE
class TestLogin:
    def test_valid_login(self):
        """Test logging in with valid credentials"""

→ Test Case: your-code.file-path.file-name.TestLogin.test_valid_login
→ Definition: Test logging in with valid credentials

Robot Framework

CODE
*** Test Cases ***
Valid Login
    [Documentation]    Logs in with valid user credentials

→ Test Case: your-code.file-path.file-name.Valid Login
→ Definition: [Documentation] Logs in with valid user credentials

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.