Files
devplacepy/test_api.json
retoor 15a3b990fe feat: scaffold initial DevPlace project with FastAPI, SQLite auth, and SSR routing
Add complete project skeleton including .gitignore, Makefile, AGENTS.md, config, database init with indexes, main app with router mounting for auth/feed/posts/comments/projects/profile/messages/notifications/votes, Pydantic models for signup/login/post/comment/project/message/profile, and auth router with signup/login page rendering and form handling.
2026-05-10 07:08:12 +00:00

63 lines
1.7 KiB
JSON

{
"tests": [
{
"name": "Landing page returns 200",
"method": "GET",
"path": "/",
"expect_status": 200
},
{
"name": "Signup page returns 200",
"method": "GET",
"path": "/auth/signup",
"expect_status": 200
},
{
"name": "Login page returns 200",
"method": "GET",
"path": "/auth/login",
"expect_status": 200
},
{
"name": "Feed redirects to login when not authenticated",
"method": "GET",
"path": "/feed",
"expect_status": 303
},
{
"name": "Static CSS is served",
"method": "GET",
"path": "/static/css/variables.css",
"expect_status": 200
},
{
"name": "Static JS is served",
"method": "GET",
"path": "/static/js/Application.js",
"expect_status": 200
},
{
"name": "User signup works",
"method": "POST",
"path": "/auth/signup",
"form": {
"username": "testuser",
"email": "test@devplace.com",
"password": "test123",
"confirm_password": "test123"
},
"expect_status": 303
},
{
"name": "User login works",
"method": "POST",
"path": "/auth/login",
"form": {
"email": "test@devplace.com",
"password": "test123"
},
"expect_status": 303
}
]
}