Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/8_development/1_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,15 @@ Choose a tutorial based on your interest:
## Developer Resources

### Documentation
- [API Reference](../api/)
- [API Reference](../5_reference/0_index.md)
- [SDK Guides](4_examples.md)
- [Examples](examples.md)
- [Best Practices](best-practices.md)
- [Examples](4_examples.md)
- [Best Practices](5_developer-guide.md)

### Tools
- [AITBC CLI](tools/cli.md)
- [IDE Plugins](tools/ide-plugins.md)
- [Testing Framework](tools/testing.md)
- [AITBC CLI](../0_getting_started/3_cli.md)
- [IDE Plugins](15_ecosystem-initiatives.md)
- [Testing Framework](17_windsurf-testing.md)

### Community
- [Discord](https://discord.gg/aitbc)
Expand Down Expand Up @@ -256,7 +256,7 @@ See our [Contributing Guide](3_contributing.md) for details.

- 📖 [Documentation](../)
- 💬 [Discord](https://discord.gg/aitbc)
- 🐛 [Issue Tracker](https://github.com/aitbc/issues)
- 🐛 [Issue Tracker](https://github.com/oib/AITBC/issues)
- 📧 [dev-support@aitbc.io](mailto:dev-support@aitbc.io)

## Next Steps
Expand Down
16 changes: 16 additions & 0 deletions tests/cli/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,22 @@ def test_export_json(self, runner, mock_config, temp_config_file):
assert data['coordinator_url'] == 'http://test:8000'
assert data['api_key'] == '***REDACTED***'


def test_export_empty_yaml(self, runner, mock_config, tmp_path):
"""Test exporting an empty YAML config file"""
with runner.isolated_filesystem(temp_dir=tmp_path):
local_config = Path.cwd() / ".aitbc.yaml"
local_config.write_text("")

result = runner.invoke(config, [
'export',
'--format', 'json'
], obj={'config': mock_config, 'output_format': 'table'})

assert result.exit_code == 0
data = json.loads(result.output)
assert data == {}

def test_export_no_config(self, runner, mock_config):
"""Test export when no config file exists"""
with runner.isolated_filesystem():
Expand Down
Loading